summaryrefslogtreecommitdiff
path: root/Runtime/Math/Vector4.h
blob: c0f99f28405d8cd4685dc36623b64f0a8caf2569 (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
32
#pragma once

namespace Internal
{

    struct Vector4
    {
        float x, y, z, w;

        Vector4(float x = 0, float y = 0, float z = 0, float w = 0)
        {
            this->x = x;
            this->y = y;
            this->z = z;
            this->w = w;
        }

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


        static Vector4 zero;
        static Vector4 one;
    };


}