Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <nonlinear_transform.h>
Public Member Functions | |
virtual QVector | Transform (const QVector &v) const |
Transforms in a possibly nonlinear way the point to some new space. More... | |
virtual QVector | TransformNormal (const QVector &v, const QVector &n) const |
transforms a direction to some new space More... | |
virtual QVector | InvTransform (const QVector &v) const |
Transforms in reverse the vector into quadsquare space. More... | |
virtual CLIPSTATE | BoxInFrustum (Vector &min, Vector &max, const Vector &campos) const |
Transforms a min and a max vector and figures out what is bigger. More... | |
float | TransformS (float x, float scale) const |
float | TransformT (float y, float scale) const |
We could make it virtual and ahve a sphere-map or cube-map version of this
Definition at line 12 of file nonlinear_transform.h.
|
inlinevirtual |
Transforms a min and a max vector and figures out what is bigger.
Reimplemented in SphericalTransform.
Definition at line 31 of file nonlinear_transform.h.
References GFXBoxInFrustum().
Transforms in reverse the vector into quadsquare space.
Reimplemented in SphericalTransform.
Definition at line 26 of file nonlinear_transform.h.
References v.
Referenced by QuadTree::GetGroundPos(), QuadTree::GetHeight(), QuadTree::Render(), and QuadTree::Update().
Transforms in a possibly nonlinear way the point to some new space.
Reimplemented in SphericalTransform.
Definition at line 16 of file nonlinear_transform.h.
References v.
Referenced by QuadTree::GetGroundPos().
|
inlinevirtual |
transforms a direction to some new space
Reimplemented in SphericalTransform.
Definition at line 21 of file nonlinear_transform.h.
Referenced by QuadTree::GetGroundPos(), QuadTree::GetHeight(), QuadTree::GetNormal(), and quadsquare::MakeLightness().
Definition at line 35 of file nonlinear_transform.h.
Definition at line 39 of file nonlinear_transform.h.