Skip to content

Commit 024cd7e

Browse files
committed
Fixed double/float conversion warnings
1 parent 95d34e7 commit 024cd7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/forest/forest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ namespace embree
7070
: TutorialApplication(NAME,FEATURES,1280,720)
7171
{
7272
/* set default camera */
73-
camera.from = Vec3fa(507.72, 109.37, 1173.20);
74-
camera.to = Vec3fa(504.62, 108.63, 1161.37);
73+
camera.from = Vec3fa(507.72f, 109.37f, 1173.20f);
74+
camera.to = Vec3fa(504.62f, 108.63f, 1161.37f);
7575
}
7676

7777
#if defined(USE_GLFW)

0 commit comments

Comments
 (0)