Changeset 1824 for GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.h
- Timestamp:
- 11/28/06 19:46:36 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VssRay.h
r1785 r1824 14 14 class KdNode; 15 15 16 #define ABS_CONTRIBUTION_WEIGHT 0. 8f16 #define ABS_CONTRIBUTION_WEIGHT 0.5f 17 17 18 18 class VssRay { … … 137 137 138 138 static float VssRay::GetDirParam(const int axis, const Vector3 dir); 139 static Vector3 VssRay::GetInvDirParam(const float alpha, const float beta); 139 140 140 141 float GetSize() const { return 1.0f/mInvSize; } … … 203 204 static Vector3 204 205 GetDirection(const float a, const float b) { 205 return Vector3(sin(a), sin(b), cos(a)); 206 return GetInvDirParam(a, b); 207 //return Vector3(sin(a), sin(b), cos(a)); 206 208 } 207 209
Note: See TracChangeset
for help on using the changeset viewer.