aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/Utils/Matrix.h
diff options
context:
space:
mode:
authorTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-12-06 23:47:39 +0000
committerTravis CI <zmoelnig@travis-ci.umlaeute.mur.at>2017-12-06 23:47:39 +0000
commitc886922cc0b8c32ead0459b581f51ff60fdebbd4 (patch)
tree98c9b3036116ebfefde32c8c278639b767e2d305 /Gem/develop/include/Gem/Utils/Matrix.h
parentff954ec3b2de3f0bce8aee70680469468896df7d (diff)
Gem 427a3d0e61d61e64e76facfa905c120356383bab osx/x86_64
built 'master:427a3d0e61d61e64e76facfa905c120356383bab' for osx/x86_64
Diffstat (limited to 'Gem/develop/include/Gem/Utils/Matrix.h')
-rw-r--r--Gem/develop/include/Gem/Utils/Matrix.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/Gem/develop/include/Gem/Utils/Matrix.h b/Gem/develop/include/Gem/Utils/Matrix.h
index 0137f89..4bc5c39 100644
--- a/Gem/develop/include/Gem/Utils/Matrix.h
+++ b/Gem/develop/include/Gem/Utils/Matrix.h
@@ -2,7 +2,7 @@
LOG
GEM - Graphics Environment for Multimedia
- Matrix class
+ Matrix class
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
Copyright (c) Günther Geiger. geiger@epy.co.at
@@ -26,53 +26,53 @@ CLASS
DESCRIPTION
- Post-concatenation
- Column-major
+ Post-concatenation
+ Column-major
-----------------------------------------------------------------*/
class GEM_EXTERN Matrix
{
- public:
+public:
- //////////
- // Constructor
- // Sets the matrix to identity
- Matrix(void);
+ //////////
+ // Constructor
+ // Sets the matrix to identity
+ Matrix(void);
- //////////
- // Set the matrix to the identity
- void identity(void);
+ //////////
+ // Set the matrix to the identity
+ void identity(void);
- //////////
- // Post mulitply the matrix
- void multiply(Matrix *pMatrix);
+ //////////
+ // Post mulitply the matrix
+ void multiply(Matrix *pMatrix);
- //////////
- void scale(float x, float y, float z);
+ //////////
+ void scale(float x, float y, float z);
- //////////
- void translate(float x, float y, float z);
+ //////////
+ void translate(float x, float y, float z);
- //////////
- void rotateX(float degrees);
+ //////////
+ void rotateX(float degrees);
- //////////
- void rotateY(float degrees);
+ //////////
+ void rotateY(float degrees);
- //////////
- void rotateZ(float degrees);
+ //////////
+ void rotateZ(float degrees);
- //////////
- void transform(float srcX, float srcY, float srcZ, float *dstX, float *dstY, float *dstZ) const;
+ //////////
+ void transform(float srcX, float srcY, float srcZ, float *dstX, float *dstY, float *dstZ) const;
- //////////
- // The actual matrix values
- float mat[4][4];
+ //////////
+ // The actual matrix values
+ float mat[4][4];
- //////////
- // Utility functions
- static void generateNormal(const float *v1, const float *v2, const float *v3, float *dst);
+ //////////
+ // Utility functions
+ static void generateNormal(const float *v1, const float *v2, const float *v3, float *dst);
};
-#endif // for header file
+#endif // for header file