Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r2297 - trunk/Model/MiscObjects


Chronological Thread 
  • From: "Thiago Ize" < >
  • To:
  • Subject: [Manta] r2297 - trunk/Model/MiscObjects
  • Date: Fri, 27 Jun 2008 12:02:04 -0600 (MDT)

Author: thiago
Date: Fri Jun 27 12:02:03 2008
New Revision: 2297

Modified:
   trunk/Model/MiscObjects/KeyFrameAnimation.cc
Log:
Quite a warning.

Modified: trunk/Model/MiscObjects/KeyFrameAnimation.cc
==============================================================================
--- trunk/Model/MiscObjects/KeyFrameAnimation.cc        (original)
+++ trunk/Model/MiscObjects/KeyFrameAnimation.cc        Fri Jun 27 12:02:03 
2008
@@ -154,7 +154,7 @@
 
   if (differentFrame) {
     float frame = currTime/duration * numFrames;
-    float lastFrame = static_cast<int>(frame);
+    int lastFrame = static_cast<int>(frame);
 
     if (interpolation == linear) {
       //do interpolation in parallel


  • [Manta] r2297 - trunk/Model/MiscObjects, Thiago Ize, 06/27/2008

Archive powered by MHonArc 2.6.16.

Top of page