/** * Copyright (c) 2025, Jayden Grubb * * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include #include namespace Nova { NOVA_BEGIN_ALLOW_ANONYMOUS_TYPES template struct Vec4 { union { struct { T x, y, z, w; }; struct { T r, g, b, a; }; T data[4]; }; }; using iVec4 = Vec4; using uVec4 = Vec4; NOVA_END_ALLOW_ANONYMOUS_TYPES } // namespace Nova