diff options
| author | prep <prep@lindenlab.com> | 2011-11-17 13:32:04 -0500 |
|---|---|---|
| committer | prep <prep@lindenlab.com> | 2011-11-17 13:32:04 -0500 |
| commit | 378c076d1df5d911e07959638fbd61a9094384d2 (patch) | |
| tree | d0e6f8868cc78539b05847d089200c2da68d4746 /indra/newview/llspatialpartition.cpp | |
| parent | 9f996fdc5684a3e55c9f86508979ad943e2eaded (diff) | |
WIP: navmesh station posts to a url, responder receives llsd and then has the llpathing library extract and render the navmesh (if desired).
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rw-r--r-- | indra/newview/llspatialpartition.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 6c2b71dd0a..529ca9f022 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -48,6 +48,8 @@ #include "llvolumemgr.h" #include "lltextureatlas.h" #include "llglslshader.h" +#include "llrendersegment.h" +#include "llagent.h" static LLFastTimer::DeclareTimer FTM_FRUSTUM_CULL("Frustum Culling"); static LLFastTimer::DeclareTimer FTM_CULL_REBOUND("Cull Rebound"); @@ -3992,6 +3994,12 @@ public: { renderAgentTarget(avatar); } + + //prep# + //LLVector3 pos = gAgent.getPositionGlobal(); + //LLVector3d vel = gAgent.getVelocity(); + //gSegment.renderSegment( pos, pos+vel, 0 ); + if (gDebugGL) { |
