Namespaces | Functions | Variables

light-path.cpp File Reference

#include "light-path.h"
#include <math.h>
#include "perf/perf.h"
Include dependency graph for light-path.cpp:

Go to the source code of this file.

Namespaces

namespace  glut

Functions

static void glut::setSegment (const point3d_t &p0, const point3d_t &p1, const matrix4_t &T, int genTextureId, int outTextureId, Framebuffer *framebuffer, float size, const glut::render_context_t &rc, poly_request_t *pr)
static int glut::compareSegments (const void *p1, const void *p2) throw ()

void glut::drawTransparentPath (const point3d_t *pointArray,int *textureArray,int nSegments,Framebuffer *framebuffer,float size,int textureId,const render_context_t &rc,RenderQueue *rq)
 draws a path, creating a texture normal to the viewer along each segment.

Variables

static const float glut::s_eps = 1.0e-6