PSYQO SDK
psyqo::Vector
Class template
Class template
Class template declared by the vector module for fixed-point vector arithmetic.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.
C++ example
#include "psyqo/vector.hh"
psyqo::Vector& value = /* obtain a valid instance from your game */;Nested types
Fields and constants
Public methods
Static methods
BACKWARDPerforms `backward` as part of fixed-point vector arithmetic.MethodDOWNPerforms `down` as part of fixed-point vector arithmetic.MethodFORWARDPerforms `forward` as part of fixed-point vector arithmetic.MethodLEFTPerforms `left` as part of fixed-point vector arithmetic.MethodONEPerforms `one` as part of fixed-point vector arithmetic.MethodRIGHTPerforms `right` as part of fixed-point vector arithmetic.MethodUPPerforms `up` as part of fixed-point vector arithmetic.MethodZEROPerforms `zero` as part of fixed-point vector arithmetic.MethodOperators
operator VertexPerforms `operator vertex` as part of fixed-point vector arithmetic.Conversion operatoroperator-Performs `operator -` as part of fixed-point vector arithmetic.Methodoperator-=Performs `operator -=` as part of fixed-point vector arithmetic.Methodoperator[]Performs `operator []` as part of fixed-point vector arithmetic.Methodoperator*Performs `operator *` as part of fixed-point vector arithmetic.Methodoperator*=Performs `operator *=` as part of fixed-point vector arithmetic.Methodoperator/Performs `operator /` as part of fixed-point vector arithmetic.Methodoperator/=Performs `operator /=` as part of fixed-point vector arithmetic.Methodoperator+Performs `operator +` as part of fixed-point vector arithmetic.Methodoperator+=Performs `operator +=` as part of fixed-point vector arithmetic.Method