Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r917 - trunk/Model/Groups


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r917 - trunk/Model/Groups
  • Date: Thu, 9 Feb 2006 15:01:28 -0700 (MST)

Author: abe
Date: Thu Feb  9 15:01:28 2006
New Revision: 917

Modified:
   trunk/Model/Groups/SSEKDTree-stub.cc
   trunk/Model/Groups/VerticalKDTree-stub.cc
Log:

Updated stub implementations to reflect KDTreeData.

M    Groups/SSEKDTree-stub.cc
M    Groups/VerticalKDTree-stub.cc


Modified: trunk/Model/Groups/SSEKDTree-stub.cc
==============================================================================
--- trunk/Model/Groups/SSEKDTree-stub.cc        (original)
+++ trunk/Model/Groups/SSEKDTree-stub.cc        Thu Feb  9 15:01:28 2006
@@ -42,12 +42,9 @@
 // Simple kdtree functions.
 
///////////////////////////////////////////////////////////////////////////////
 
-SSEKDTree::SSEKDTree( KDTree *kdtree_, Material *material_ )
+SSEKDTree::SSEKDTree( KDTreeData *kdtree_, Material *material_ )
   : PrimitiveCommon( material_ ),
-    rootNode( kdtree_->rootNode ),
-    triIndices( kdtree_->triIndices ),
-    tris( kdtree_->tris ),
-    normals( kdtree_->normals )
+    KDTreeData( kdtree_ )
 {
   throw InternalError( "Manta::Real == float required for SSEKDTree",
                        __FILE__, __LINE__ );

Modified: trunk/Model/Groups/VerticalKDTree-stub.cc
==============================================================================
--- trunk/Model/Groups/VerticalKDTree-stub.cc   (original)
+++ trunk/Model/Groups/VerticalKDTree-stub.cc   Thu Feb  9 15:01:28 2006
@@ -44,12 +44,9 @@
 // Simple kdtree functions.
 
///////////////////////////////////////////////////////////////////////////////
 
-VerticalKDTree::VerticalKDTree( KDTree *kdtree_, Material *material_ )
+VerticalKDTree::VerticalKDTree( KDTreeData *kdtree_, Material *material_ )
   : PrimitiveCommon( material_ ),
-    rootNode( kdtree_->rootNode ),
-    triIndices( kdtree_->triIndices ),
-    tris( kdtree_->tris ),
-    normals( kdtree_->normals )
+    KDTreeData( kdtree_ )
 {
   throw InternalError( "Manta::Real == float required for VerticalKDTree", 
__FILE__, __LINE__ ); 
 }




  • [MANTA] r917 - trunk/Model/Groups, abe, 02/09/2006

Archive powered by MHonArc 2.6.16.

Top of page