17 unsigned char r, g,
b;
18 float ux, uy, uz, vx, vy,
vz;
38 QVector3D getNormal();
41 void setNormal(QVector3D &n);
42 void setU(
const QVector3D &u);
43 void setV(
const QVector3D &v);
Splat()
Creates a Splat with default values.
Definition: splat.cpp:3
bool normalCorr
if the normal has been corrected
Definition: splat.h:19
float nz
normal
Definition: splat.h:16
Stores information about a single splat.
Definition: splat.h:13
float vz
ellipse tangent vectors
Definition: splat.h:18
An element with a location in 3-dimensional space.
Definition: entity.h:9
void flipNormal()
Inverts the direction in which the normal vector is pointing.
Definition: splat.cpp:54
unsigned char b
color
Definition: splat.h:17
void adaptUvToNormal()
Adapts u and v to the normal.
Definition: splat.cpp:60