The Vish Visualization Shell 0.3
Vish
Wizt::RenderBasin::FloatedOrigin Struct Reference

Support for FloatingOrigin (class FloatOrigin ). More...

#include <ocean/Anemonia/RenderBasin.hpp>

Public Member Functions

Eagle::point3f shift (const Eagle::PhysicalSpace::point &P) const
 Shift a point given in double precision coordinates such that it fits into the smaller range of single precision coordinates by subtracting the Translation vector.

Public Attributes

Eagle::tvector3 Translation
 The offset from the Origin.

Detailed Description

Support for FloatingOrigin (class FloatOrigin ).

Member Data Documentation

◆ Translation

Eagle::tvector3 Wizt::RenderBasin::FloatedOrigin::Translation

The offset from the Origin.

For OpenGL code that uses the global modelview matrix, either via fixed pipeline or gl_ModelViewMatrix in GLSL code, this is the value contained in the translation part of the matrix. Consequently, code that does not go via these matrizes must do the translation explicitly.

Referenced by shift().