9 #include <export/Export.h>
17 const float Pi = 3.1415926535f;
23 const float Tau = 6.2831853072f;
28 const float Exp = 2.7182818285f;
62 EXPA
Vector(
float x,
float y);
68 EXPA
Vector(
float x,
float y,
float z);
74 EXPA
Vector(
float x,
float y,
float z,
float w);
80 EXPA
Vector(
const float *v);
254 EXPA
float length()
const;
317 float m00,
float m01,
318 float m10,
float m11);
329 float m00,
float m01,
float m02,
330 float m10,
float m11,
float m12,
331 float m20,
float m21,
float m22);
342 float m00,
float m01,
float m02,
float m03,
343 float m10,
float m11,
float m12,
float m13,
344 float m20,
float m21,
float m22,
float m23,
345 float m30,
float m31,
float m32,
float m33);
359 EXPA
Matrix(
const float *m);
532 EXPA
float cofactor(
unsigned int row,
unsigned int column)
const;
665 EXPA
DVector(
double x,
double y);
671 EXPA
DVector(
double x,
double y,
double z);
677 EXPA
DVector(
double x,
double y,
double z,
double w);
723 EXPA
double operator [] (
unsigned int index)
const;
857 EXPA
double length()
const;
920 double m00,
double m01,
921 double m10,
double m11);
932 double m00,
double m01,
double m02,
933 double m10,
double m11,
double m12,
934 double m20,
double m21,
double m22);
945 double m00,
double m01,
double m02,
double m03,
946 double m10,
double m11,
double m12,
double m13,
947 double m20,
double m21,
double m22,
double m23,
948 double m30,
double m31,
double m32,
double m33);
1002 EXPA
double operator [] (
unsigned int index)
const;
1135 EXPA
double cofactor(
unsigned int row,
unsigned int column)
const;
EXPA Vector & rightmult(const Matrix &m)
EXPA const DVector & operator>>(DVector &v) const
double * elements
Definition: SXMath.h:898
EXPA Vector & add(const Vector &v)
EXPA DMatrix & leftmult(const DMatrix &m)
EXPA float innerprod(const Vector &v) const
EXPA DMatrix & scalarmult(double s)
EXPA DVector & operator=(const DVector &v)
EXPA Matrix & perspectiveMatrix(float angle, float width, float height, float znear, float zfar)
EXPA Matrix & submatrix()
EXPA float determinant() const
EXPA DVector & operator<<(const DVector &v)
EXPA double cofactor(unsigned int row, unsigned int column) const
EXPA DMatrix & orthographicPerspeciveMatrix(double left, double right, double bottom, double top, double znear, double zfar)
EXPA friend DMatrix operator^(const DMatrix &m, int power)
EXPA float distance(const Vector &v) const
EXPA Matrix & orthographicPerspeciveMatrix(float left, float right, float bottom, float top, float znear, float zfar)
EXPA bool equals(const DMatrix &m) const
EXPA Vector & scalarmult(float s)
EXPA Matrix & viewMatrix(const Vector &position, const Vector &view, const Vector &up)
EXPA bool equals(const Vector &v) const
EXPA Matrix & scalarmult(float s)
EXPA const DMatrix & operator>>(DMatrix &m) const
const float Exp
Definition: SXMath.h:28
EXPA double length() const
EXPA Vector & operator=(const Vector &v)
EXPA double innerprod(const DVector &v) const
EXPA friend DMatrix operator!(const DMatrix &m)
EXPA double & operator[](unsigned int index)
EXPA DMatrix & translate(const DVector &v)
EXPA Matrix & operator=(const Matrix &m)
EXPA DMatrix & operator<<(const DMatrix &m)
EXPA Matrix & operator<<(const Matrix &m)
EXPA float & operator[](unsigned int index)
const float Pi
Definition: SXMath.h:17
EXPA const Matrix & operator>>(Matrix &m) const
EXPA Vector & homogenize()
EXPA float length() const
EXPA Matrix & add(const Matrix &m)
EXPA DMatrix & normalMatrix()
EXPA Matrix & scale(const Vector &v)
EXPA friend Vector operator--(const Vector &v)
EXPA friend Matrix operator^(const Matrix &m, int power)
EXPA Matrix & leftmult(const Matrix &m)
EXPA Vector & leftmult(const Matrix &m)
EXPA double determinant() const
EXPA friend DVector operator+(const DVector &v1, const DVector &v2)
EXPA DMatrix & viewMatrix(const DVector &position, const DVector &view, const DVector &up)
EXPA double distance(const DVector &v) const
EXPA Matrix & normalMatrix()
EXPA DVector & crossmult(const DVector &v)
EXPA bool equals(const DVector &v) const
float * elements
Definition: SXMath.h:295
EXPA DMatrix & identity()
EXPA friend Matrix operator*(const Matrix &m1, const Matrix &m2)
const float Tau
Definition: SXMath.h:23
EXPA DMatrix & perspectiveMatrix(double angle, double width, double height, double znear, double zfar)
EXPA friend Matrix operator-(const Matrix &m)
EXPA Matrix & rotate(const Vector &m, float angle)
EXPA friend Vector operator*(const Vector &v, float x)
float * elements
Definition: SXMath.h:44
EXPA friend DMatrix operator-(const DMatrix &m)
EXPA DMatrix & scale(const DVector &v)
EXPA Matrix & translate(const Vector &v)
EXPA DVector & add(const DVector &v)
EXPA Matrix & rightmult(const Matrix &m)
EXPA friend DMatrix operator*(const DMatrix &m1, const DMatrix &m2)
EXPA DVector & rightmult(const DMatrix &m)
EXPA DVector & homogenize()
EXPA double & operator[](unsigned int index)
EXPA Vector & normalize()
EXPA friend Vector operator%(const Vector &v1, const Vector &v2)
EXPA Matrix & transpose()
EXPA DMatrix & submatrix()
EXPA DMatrix & shear(const DVector &v)
EXPA Matrix & shear(const Vector &v)
EXPA friend Vector operator+(const Vector &v1, const Vector &v2)
EXPA float cofactor(unsigned int row, unsigned int column) const
EXPA friend DVector operator--(const DVector &v)
EXPA friend DVector operator%(const DVector &v1, const DVector &v2)
EXPA DMatrix & add(const DMatrix &m)
EXPA friend DMatrix operator+(const DMatrix &m1, const DMatrix &m2)
EXPA DVector & leftmult(const DMatrix &m)
EXPA friend Matrix operator+(const Matrix &m1, const Matrix &m2)
double * elements
Definition: SXMath.h:647
EXPA DMatrix & transpose()
EXPA DVector & normalize()
EXPA friend Matrix operator!(const Matrix &m)
EXPA Vector & crossmult(const Vector &v)
EXPA DVector & scalarmult(double s)
EXPA DMatrix & rotate(const DVector &m, double angle)
EXPA Vector & operator<<(const Vector &v)
EXPA DMatrix & operator=(const DMatrix &m)
EXPA float & operator[](unsigned int index)
EXPA friend DVector operator*(const DVector &v, double x)
EXPA const Vector & operator>>(Vector &v) const
EXPA bool equals(const Matrix &m) const
EXPA DMatrix & rightmult(const DMatrix &m)
Definition: Exception.h:13