diff options
author | MatejaMaric <matejamaricz@gmail.com> | 2019-07-09 00:26:42 +0200 |
---|---|---|
committer | MatejaMaric <matejamaricz@gmail.com> | 2019-07-09 00:26:42 +0200 |
commit | a7c9aeee1e68235af406e30654e4b2e5f0f7fda2 (patch) | |
tree | 492e4860bf17d196b5a79a83004aec217e69cf1e /source/Vector4f.h | |
download | erender-a7c9aeee1e68235af406e30654e4b2e5f0f7fda2.tar.gz erender-a7c9aeee1e68235af406e30654e4b2e5f0f7fda2.zip |
First commit
Diffstat (limited to 'source/Vector4f.h')
-rw-r--r-- | source/Vector4f.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/Vector4f.h b/source/Vector4f.h new file mode 100644 index 0000000..ee1846a --- /dev/null +++ b/source/Vector4f.h @@ -0,0 +1,12 @@ +#include"Matrix4f.h"
+class Vector4f
+{
+public:
+ float x, y, z, w;
+ Vector4f();
+ Vector4f(float x_, float y_, float z_, float w_);
+ float dotProduct(const Vector4f& a);
+ Vector4f crossProduct(const Vector4f& a);
+ Vector4f multiplyMatrix(const Matrix4f& a);
+};
+
|