summaryrefslogtreecommitdiff
path: root/Runtime/Math/Vector3.h
blob: e81e880d63aad8d980b49f99069826cd2bc3481b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef VECTOR3_H
#define VECTOR3_H

namespace Internal
{

    struct Vector3
    {
        float x, y, z;
        Vector3(float x = 0, float y = 0, float z = 0)
        {
            this->x = x;
            this->y = y;
            this->z = z;
        }
        inline void Set(float x, float y, float z)
        {
            this->x = x;
            this->y = y;
            this->z = z;
        }


        static Vector3 zero;
        static Vector3 one;

    };


}
#endif