23 Sphere(uint32_t
id = 0u,
const V3Arg ¢re =
V3Arg(0, 0, 0),
float radius = 1.0f);
29 Sphere(uint32_t
id, uint16_t category,
const V3Arg ¢re =
V3Arg(0, 0, 0),
float radius = 1.0f);
34 Sphere &setRadius(
float radius);
50 :
Shape(SIdSphere, id)
58 :
Shape(SIdSphere, id, category)
91 #endif // _3ESSPHERE_H_ A base class for encapsulating a shape which is to be represented remotely.
Definition: 3esshape.h:39
Definition: 3esbounds.h:13
Sphere & setCentre(const V3Arg ¢re)
Set the sphere centre coordinate.
Definition: 3essphere.h:78
Vector3< float > Vector3f
Defines a single precision vector.
Definition: 3esvector3.h:14
Represents a vector in R3.
Definition: 3esvector3.h:14
A helper structure used to convert from float or double pointers to Vector3f arguments.
Definition: 3esv3arg.h:14
Vector3f centre() const
Get the sphere centre coordinate.
Definition: 3essphere.h:85
T x
Direct data member access.
Definition: 3esvector3.h:30
Sphere(uint32_t id=0u, const V3Arg ¢re=V3Arg(0, 0, 0), float radius=1.0f)
Definition: 3essphere.h:49
Sphere & setRadius(float radius)
Set the sphere radius.
Definition: 3essphere.h:65
float radius() const
Get the sphere radius.
Definition: 3essphere.h:72
Defines a sphere to display.
Definition: 3essphere.h:19