8 #ifndef __S3A_renderer_dsp__XYZ__ 9 #define __S3A_renderer_dsp__XYZ__ 23 class VISR_PANNING_LIBRARY_SYMBOL
XYZ {
34 : x( pX), y( pY ), z( pZ ), isInfinite( pInfinity )
40 XYZ & operator=(
XYZ const & rhs ) =
default;
46 XYZ(
XYZ const & rhs ) =
default;
60 return std::sqrt(x*x + y*y + z*z);
64 return x * v.
x + y * v.
y + z * v.
z;
bool isInfinite
Definition: XYZ.h:50
int minus(XYZ v)
Definition: XYZ.h:67
int normalise()
Definition: XYZ.h:74
Afloat x
Definition: XYZ.h:49
Afloat z
Definition: XYZ.h:49
Definition: options.cpp:10
Afloat dot(XYZ v) const
Definition: XYZ.h:63
XYZ(Afloat pX, Afloat pY, Afloat pZ, bool pInfinity=false)
Definition: XYZ.h:33
Afloat getLength() const
Definition: XYZ.h:59
float Afloat
Definition: defs.h:15
Afloat y
Definition: XYZ.h:49