Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2017-06-01 21:43:45 +0300
committerMike Erwin <significant.bit@gmail.com>2017-06-07 23:20:37 +0300
commita5242d08fbe4105dd18e1adbe65d4f17f83fa68f (patch)
treea3b49c92c7cd38f93e161558be8fc2eac4796dea /source/blender
parent575db256dbb54cc013c729157115ba4be8c7b13e (diff)
cleanup floating point literals
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
index 0487903163a..95bd0bd1a45 100644
--- a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
+++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow_manipulator.c
@@ -110,10 +110,10 @@ static void arrow_draw_geom(const ArrowManipulator3D *arrow, const bool select,
immUniformColor4fv(color);
immBegin(PRIM_LINES, 4);
- immVertex3f(pos, -1.0, 0.f, 0.0);
- immVertex3f(pos, 1.0, 0.f, 0.0);
- immVertex3f(pos, 0.f, -1.0, 0.0);
- immVertex3f(pos, 0.f, 1.0, 0.0);
+ immVertex3f(pos, -1.0f, 0.0f, 0.0f);
+ immVertex3f(pos, 1.0f, 0.0f, 0.0f);
+ immVertex3f(pos, 0.0f, -1.0f, 0.0f);
+ immVertex3f(pos, 0.0f, 1.0f, 0.0f);
immEnd();
}
else if (arrow->style & MANIPULATOR_ARROW_STYLE_CONE) {