Ignore:
Timestamp:
05/03/05 17:30:53 (19 years ago)
Author:
mattausch
Message:

worked on the demos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/TestCullingTerrain/TerrainContentGenerator.cpp

    r81 r82  
    1919} 
    2020//----------------------------------------------------------------------- 
    21 bool RayQueryExecutor::executeRayQuery(Vector3 *result, const Vector3 &pos, const Vector3 &dir) 
     21bool RayQueryExecutor::executeRayQuery(Vector3 *result, const Vector3 &pos,  
     22                                                                           const Vector3 &dir) 
    2223{ 
    2324        return executeRayQuery(result, Ray(pos, dir)); 
     
    5253{ 
    5354        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); 
    5556 
    5657        mMinAngle = Vector3(0.0f, 0.0f, 0.0f); 
     
    7273        if (mRayQueryExecutor->executeRayQuery(&queryResult, position, Vector3::NEGATIVE_UNIT_Y)) 
    7374        { 
    74                 // reject if height too big 
     75                // reject if height is too high 
    7576                if(queryResult.y < mMaxHeight) 
    7677                { 
Note: See TracChangeset for help on using the changeset viewer.