Changeset 2342 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.h
- Timestamp:
- 05/02/07 17:28:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.h
r2332 r2342 14 14 #include "Timer/PerfTimer.h" 15 15 16 16 17 #ifdef USE_SSE 17 18 #include <xmmintrin.h> 18 19 #endif 19 20 20 21 21 … … 797 797 float EvalRenderCostDecrease(VspSubdivisionCandidate &splitData, 798 798 float &normalizedOldRenderCost, 799 const float total Pvs,800 const float pvsFront,801 const float pvsBack) const;799 const float totalRenderCost, 800 const float frontRenderCost, 801 const float backRenderCost) const; 802 802 803 803 /** Collects view cells in the subtree under root. … … 1113 1113 int CompressObjects(VspLeaf *leaf); 1114 1114 1115 1115 1116 #ifdef USE_SSE 1116 1117 struct RayPacket1118 {1119 union { float mOriginX[4]; __m128 mOriginX4; };1120 union { float mOriginY[4]; __m128 mOriginY4; };1121 union { float mOriginZ[4]; __m128 mOriginZ4; };1122 1123 union { float mTerminationX[4]; __m128 mTerminationX4; };1124 union { float mTerminationY[4]; __m128 mTerminationY4; };1125 union { float mTerminationZ[4]; __m128 mTerminationZ4; };1126 1127 ViewCellContainer mViewCells[4];1128 };1129 1130 1117 struct PacketTraversalData 1131 1118 { … … 1141 1128 PacketTraversalData () {} 1142 1129 PacketTraversalData (VspNode *n, 1143 1144 1145 1130 const __m128 &px, const __m128 &py, const __m128 &pz, 1131 const __m128 &maxt, 1132 const __m128 &mask): 1146 1133 mNode(n), 1147 mExitPointX4(px), mExitPointY4(py), mExitPointZ4(pz),1148 mMaxT4(maxt),1149 mMask4(mask)1134 mExitPointX4(px), mExitPointY4(py), mExitPointZ4(pz), 1135 mMaxT4(maxt), 1136 mMask4(mask) 1150 1137 {} 1151 1138 }; 1152 1139 1153 1154 int TraverseRayPacket(RayPacket &rp, 1155 const bool useMailboxing); 1140 1141 int TraverseRayPacket(RayPacket &rp, const bool useMailboxing); 1156 1142 1157 1143 #endif 1144 1158 1145 1159 1146 protected:
Note: See TracChangeset
for help on using the changeset viewer.