Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1087 - in trunk: Core/Geometry SwigInterface


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1087 - in trunk: Core/Geometry SwigInterface
  • Date: Fri, 26 May 2006 15:19:22 -0600 (MDT)

Author: abe
Date: Fri May 26 15:19:20 2006
New Revision: 1087

Modified:
   trunk/Core/Geometry/VectorT.h
   trunk/SwigInterface/manta.i
Log:

Fixed swig/python build.

M    Core/Geometry/VectorT.h
Removed 2,3,4 arg constructors from swig build.

M    SwigInterface/manta.i
Forward declared BasicCameraData before including Scene.h


Modified: trunk/Core/Geometry/VectorT.h
==============================================================================
--- trunk/Core/Geometry/VectorT.h       (original)
+++ trunk/Core/Geometry/VectorT.h       Fri May 26 15:19:20 2006
@@ -60,7 +60,6 @@
       typedef char unnamed[ Dim == 2 ? 1 : 0 ];
       data[0] = x; data[1] = y;
     }
-#endif
     VectorT(T x, T y, T z) {
       typedef char unnamed[ Dim == 3 ? 1 : 0 ];
       data[0] = x; data[1] = y; data[2] = z;
@@ -69,6 +68,7 @@
       typedef char unnamed[ Dim == 4 ? 1 : 0 ];
       data[0] = x; data[1] = y; data[2] = z; data[3] = w;
     }
+#endif
 
     VectorT(const Vector& copy) {
       typedef char unnamed[ Dim == 3 ? 1 : 0 ];

Modified: trunk/SwigInterface/manta.i
==============================================================================
--- trunk/SwigInterface/manta.i (original)
+++ trunk/SwigInterface/manta.i Fri May 26 15:19:20 2006
@@ -116,6 +116,11 @@
 %include <Interface/UserInterface.h>
  
 %include <Interface/RenderParameters.h>
+
+namespace Manta {
+   class BasicCameraData;
+}
+
 %include <Interface/Scene.h>
 
 %include <Interface/CallbackHelpers.h>




  • [MANTA] r1087 - in trunk: Core/Geometry SwigInterface, abe, 05/26/2006

Archive powered by MHonArc 2.6.16.

Top of page