#include <celmath/vecmath.h>#include <celmath/quaternion.h>#include <celutil/color.h>Include dependency graph for vecgl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | glAmbientLightColor (const Color &color) |
| void | glColor (const Color &c, float a) |
| void | glColor (const Color &c) |
| void | glLightColor (GLenum light, GLenum which, const Color &color) |
| void | glLightColor (GLenum light, GLenum which, const Vec4f &color) |
| void | glLightColor (GLenum light, GLenum which, const Vec3f &color) |
| void | glLightDirection (GLenum light, const Vec3f &dir) |
| void | glLightPosition (GLenum light, const Point3f &pos) |
| void | glMatrix (const Mat4d &m) |
| void | glMatrix (const Mat4f &m) |
| void | glNormal (const Vec3f &n) |
| void | glRotate (const Quatd &q) |
| void | glRotate (const Quatf &q) |
| void | glScale (const Vec3f &v) |
| void | glTexCoord (const Point2f &p) |
| void | glTranslate (const Point3f &p) |
| void | glTranslate (const Vec3f &v) |
| void | glVertex (const Vec3f &v) |
| void | glVertex (const Point3f &p) |
|
|
Definition at line 116 of file vecgl.h. References Vector4< T >::x. Referenced by Renderer::render(), renderRings(), and renderSphereDefault(). 00117 {
00118 glLightModelfv(GL_LIGHT_MODEL_AMBIENT,
00119 &(Vec4f(color.red(), color.green(), color.blue(),
00120 color.alpha()).x));
00121 }
|
|
||||||||||||
|
Definition at line 45 of file vecgl.h.
|
|
|
||||||||||||||||
|
Definition at line 110 of file vecgl.h. References Vector4< T >::x. 00111 {
00112 glLightfv(light, which,
00113 &(Vec4f(color.red(), color.green(), color.blue(), color.alpha()).x));
00114 }
|
|
||||||||||||||||
|
Definition at line 105 of file vecgl.h. 00106 {
00107 glLightfv(light, which, &color.x);
00108 }
|
|
||||||||||||||||
|
Definition at line 100 of file vecgl.h. References Vector4< T >::x. Referenced by Renderer::renderObject().
|
|
||||||||||||
|
Definition at line 90 of file vecgl.h. References Vector4< T >::x. Referenced by Renderer::renderObject().
|
|
||||||||||||
|
Definition at line 95 of file vecgl.h. References Vector4< T >::x.
|
|
|
Definition at line 58 of file vecgl.h.
|
|
|
Definition at line 51 of file vecgl.h. Referenced by glRotate().
|
|
|
Definition at line 30 of file vecgl.h. 00031 {
00032 glNormal3fv(&n.x);
00033 }
|
|
|
Definition at line 70 of file vecgl.h. References glMatrix().
|
|
|
Definition at line 65 of file vecgl.h. References glMatrix(). Referenced by Renderer::render(), Nebula::render(), renderBumpMappedMesh(), Galaxy::renderGalaxyEllipsoid(), Renderer::renderObject(), Renderer::renderOrbits(), Renderer::renderPlanet(), renderSmoothMesh(), and transformOrbits().
|
|
|
Definition at line 85 of file vecgl.h. Referenced by Renderer::renderObject().
|
|
|
Definition at line 35 of file vecgl.h. 00036 {
00037 glTexCoord2fv(&p.x);
00038 }
|
|
|
Definition at line 80 of file vecgl.h.
|
|
|
Definition at line 75 of file vecgl.h. Referenced by DSORenderer::process(), Renderer::renderCometTail(), and Renderer::renderObject().
|
|
|
Definition at line 25 of file vecgl.h.
|
|
|
Definition at line 20 of file vecgl.h. Referenced by ProcessCometTailVertex(), Renderer::render(), LODSphereMesh::render(), ConstellationBoundaries::render(), renderAtmosphere(), Renderer::renderBodyAsParticle(), Renderer::renderCelestialSphere(), Renderer::renderCometTail(), renderCompass(), renderEclipseShadows(), Galaxy::renderGalaxyPointSprites(), and Renderer::renderParticles(). 00021 {
00022 glVertex3fv(&p.x);
00023 }
|
1.4.1