32 #ifndef Billboard_INCLUDE_ONCE 33 #define Billboard_INCLUDE_ONCE 53 void setPosition(
const vec3& pos);
66 virtual void computeWorldMatrix(
Camera* camera=
NULL);
const Vector3 & normalize(T_Scalar *len=NULL)
void setPosition(real x, real y, real z)
The billboard position and rotation center.
void setType(EBillboardType type)
The type of the billboard.
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
void setAxis(const vec3 &axis)
The rotation axis in world coordinates. Used only for axis aligned billboards.
Visualization Library main namespace.
void setNormal(const vec3 &normal)
Used only for axis aligned billboards.
const vec3 & normal() const
Used only for axis aligned billboards.
A Transform that aligns an Actor towards the camera.
#define VLGRAPHICS_EXPORT
fvec3 vec3
Defined as: 'typedef fvec3 vec3'. See also VL_PIPELINE_PRECISION.
EBillboardType type() const
The type of the billboard.
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...
const vec3 & axis() const
The rotation axis in world coordinates. Used only for axis aligned billboards.