From ec2a597e11ce82cb47f4063b970ba99dfa794f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 29 Aug 2016 18:03:00 -0700 Subject: [PATCH] Fixed warnings. --- 3rdparty/ocornut-imgui/widgets/gizmo.inl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/3rdparty/ocornut-imgui/widgets/gizmo.inl b/3rdparty/ocornut-imgui/widgets/gizmo.inl index db0ae25a1..a973a910d 100644 --- a/3rdparty/ocornut-imgui/widgets/gizmo.inl +++ b/3rdparty/ocornut-imgui/widgets/gizmo.inl @@ -120,10 +120,10 @@ namespace ImGuizmo vec_t vect(int _x, int _y, int _z = 0, int _w = 0) { vec_t res; - res.x = _x; - res.y = _y; - res.z = _z; - res.w = _w; + res.x = float(_x); + res.y = float(_y); + res.z = float(_z); + res.w = float(_w); return res; } @@ -1032,7 +1032,7 @@ namespace ImGuizmo } } - static void HandleScale(float */*matrix*/, float */*deltaMatrix*/, int& type) + static void HandleScale(float * /*matrix*/, float * /*deltaMatrix*/, int& type) { ImGuiIO& io = ImGui::GetIO();