summaryrefslogtreecommitdiff
path: root/common/matrix.h
diff options
context:
space:
mode:
authorleo2006-02-24 00:34:03 +0000
committerleo2006-02-24 00:34:03 +0000
commitb7fbda24f3ed9e8aa6ac56d938cb6fc56e242674 (patch)
tree2170c9098785fbdb27864c43efafff43e444dc45 /common/matrix.h
parent1f09315ee9d57c00fa398929c14d02ad8768cb59 (diff)
Removed unused functions.
git-svn-id: http://svn.leocad.org/trunk@493 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/matrix.h')
-rw-r--r--common/matrix.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/common/matrix.h b/common/matrix.h
index 67483a5..8ee837b 100644
--- a/common/matrix.h
+++ b/common/matrix.h
@@ -4,19 +4,13 @@
#ifndef _MATRIX_H_
#define _MATRIX_H_
-class File;
-
class Matrix
{
public:
Matrix();
Matrix(const float *mat);
- Matrix(const double *matrix);
Matrix(const float *rot, const float *pos);
- ~Matrix();
-
- void FileSave(File& file) const;
- void FileLoad(File& file);
+ ~Matrix() { };
void FromPacked(const float *mat);
void FromFloat(const float* mat);
@@ -35,7 +29,6 @@ public:
void Transpose3();
float Determinant() const;
-
void GetTranslation(float *x, float *y, float *z);
void SetTranslation(float x, float y, float z);
void GetTranslation(float pos[3]);
@@ -43,11 +36,9 @@ public:
void TransformPoint(float out[], const float in[3]);
void TransformPoints(float p[], int n);
- void Create(float mx, float my, float mz, float rx, float ry, float rz);
void CreateOld(float mx, float my, float mz, float rx, float ry, float rz);
void Rotate(float angle, float x, float y, float z);
void RotateCenter(float angle, float x, float y, float z, float px, float py, float pz);
- bool FromInverse(double* src);
void CreatePerspective(float fovy, float aspect, float nearval, float farval);
void CreateLookat(const float *eye, const float *target, const float *up);