diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llhudeffectpointat.cpp | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llhudeffectpointat.cpp')
-rw-r--r-- | linden/indra/newview/llhudeffectpointat.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/linden/indra/newview/llhudeffectpointat.cpp b/linden/indra/newview/llhudeffectpointat.cpp index cd3077a..c47705b 100644 --- a/linden/indra/newview/llhudeffectpointat.cpp +++ b/linden/indra/newview/llhudeffectpointat.cpp | |||
@@ -34,6 +34,7 @@ | |||
34 | #include "llhudeffectpointat.h" | 34 | #include "llhudeffectpointat.h" |
35 | 35 | ||
36 | #include "llgl.h" | 36 | #include "llgl.h" |
37 | #include "llglimmediate.h" | ||
37 | 38 | ||
38 | #include "llagent.h" | 39 | #include "llagent.h" |
39 | #include "lldrawable.h" | 40 | #include "lldrawable.h" |
@@ -329,18 +330,18 @@ void LLHUDEffectPointAt::render() | |||
329 | glPushMatrix(); | 330 | glPushMatrix(); |
330 | glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); | 331 | glTranslatef(target.mV[VX], target.mV[VY], target.mV[VZ]); |
331 | glScalef(0.3f, 0.3f, 0.3f); | 332 | glScalef(0.3f, 0.3f, 0.3f); |
332 | glBegin(GL_LINES); | 333 | gGL.begin(GL_LINES); |
333 | { | 334 | { |
334 | glColor3f(1.f, 0.f, 0.f); | 335 | gGL.color3f(1.f, 0.f, 0.f); |
335 | glVertex3f(-1.f, 0.f, 0.f); | 336 | gGL.vertex3f(-1.f, 0.f, 0.f); |
336 | glVertex3f(1.f, 0.f, 0.f); | 337 | gGL.vertex3f(1.f, 0.f, 0.f); |
337 | 338 | ||
338 | glVertex3f(0.f, -1.f, 0.f); | 339 | gGL.vertex3f(0.f, -1.f, 0.f); |
339 | glVertex3f(0.f, 1.f, 0.f); | 340 | gGL.vertex3f(0.f, 1.f, 0.f); |
340 | 341 | ||
341 | glVertex3f(0.f, 0.f, -1.f); | 342 | gGL.vertex3f(0.f, 0.f, -1.f); |
342 | glVertex3f(0.f, 0.f, 1.f); | 343 | gGL.vertex3f(0.f, 0.f, 1.f); |
343 | } glEnd(); | 344 | } gGL.end(); |
344 | glPopMatrix(); | 345 | glPopMatrix(); |
345 | } | 346 | } |
346 | } | 347 | } |