dx11test

view src/vec.h @ 1:ec02798ee83b

moved the source files into the src dir, I hope I edited the project file correctly with the text editor
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 21 Jun 2013 07:42:07 +0300
parents vec.h@647ba0689512
children
line source
1 #ifndef VEC_H_
2 #define VEC_H_
4 class Vector3 {
5 public:
6 float x, y, z;
8 Vector3();
9 Vector3(float x, float y, float z);
10 };
12 Vector3::Vector3()
13 {
14 x = y = z = 0.0f;
15 }
17 Vector3::Vector3(float x, float y, float z)
18 {
19 this->x = x;
20 this->y = y;
21 this->z = z;
22 }
24 #endif // VEC_H_