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