14 #ifndef __F_MATRIX4_H__ 15 #define __F_MATRIX4_H__ 127 void set(
const fVec3& v,
double s) {
131 void set(
double s1,
double s2,
double s3,
double s4) {
150 void mul(
fVec4& _vec,
double d);
154 void sub(
const fVec4& vec1,
const fVec4& vec2);
155 void add(
const fVec4& vec1,
const fVec4& vec2);
friend fVec3 & Vec(fVec4 &vec)
friend fMat44 operator*(const fMat44 &, const fMat44 &)
friend fMat44 operator+(const fMat44 &, const fMat44 &)
friend double & Scalar(fVec4 &vec)
fMat44(const fMat33 &m, const fVec3 &v)
double & operator()(int i, int j)
friend double & Scalar(fMat44 &m)
void operator-=(const fMat44 &)
void set(double *v)
Set element values from array or three values.
fMat44 operator=(const fMat44 &mat)
friend fVec3 & Vec(fMat44 &m)
friend fMat44 operator-(const fMat44 &)
void operator+=(const fMat44 &)
std::ostream & operator<<(std::ostream &ost, const Point &p)
3x3 matrix and 3-element vector classes.
Vector3 cross(const Vector3 &v1, const Vector3 &v2)
friend fMat44 inv(const fMat44 &mat)
friend fMat33 & Mat(fMat44 &m)