Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

Ring Class Reference

List of all members.

Public Member Functions

 Ring (double radiusMin, double radiusMax, const QString &texname)
void draw (StelProjectorP projector, class StelRenderer *renderer, StelProjector::ModelViewTranformP transform, class StelGLSLShader *shader, double screenSz, ShadowPlanetShaderInfo *info)
 Draw the ring.
double getSize (void) const

Detailed Description

Definition at line 77 of file Planet.hpp.


Member Function Documentation

void Ring::draw ( StelProjectorP  projector,
class StelRenderer renderer,
StelProjector::ModelViewTranformP  transform,
class StelGLSLShader shader,
double  screenSz,
ShadowPlanetShaderInfo info 
)

Draw the ring.

Note that ring drawing doesn't use light (it didn't use it before the refactor either, but there was code to do lighting on the CPU in StelPainter::sRing)

Parameters:
projector Projector to project the vertices.
renderer Renderer to draw with.
transform Used to determine whether we're above or below the ring.
shader Shader to use for drawing.
screenSz Screen size.
info Shader information.

The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:44 2013 for Stellarium by  doxygen 1.6.3