- Timestamp:
- 05/03/05 17:30:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/TestCullingTerrain/TerrainContentGenerator.cpp
r81 r82 19 19 } 20 20 //----------------------------------------------------------------------- 21 bool RayQueryExecutor::executeRayQuery(Vector3 *result, const Vector3 &pos, const Vector3 &dir) 21 bool RayQueryExecutor::executeRayQuery(Vector3 *result, const Vector3 &pos, 22 const Vector3 &dir) 22 23 { 23 24 return executeRayQuery(result, Ray(pos, dir)); … … 52 53 { 53 54 mMinPos = Vector3(0.0f, 5000.0f, 0.0f); 54 mMaxPos = Vector3(1000.0f, 5000.0f, 1000.0f);55 mMaxPos = Vector3(1000.0f, 5000.0f, 1000.0f); 55 56 56 57 mMinAngle = Vector3(0.0f, 0.0f, 0.0f); … … 72 73 if (mRayQueryExecutor->executeRayQuery(&queryResult, position, Vector3::NEGATIVE_UNIT_Y)) 73 74 { 74 // reject if height too big75 // reject if height is too high 75 76 if(queryResult.y < mMaxHeight) 76 77 {
Note: See TracChangeset
for help on using the changeset viewer.