Types: Simplify typedefs

These can just be regular structure declarations. This also has the
benefit of allowing forward declaring the types.
This commit is contained in:
Lioncash 2019-08-24 02:29:35 -04:00
parent 5da7e7bac3
commit 8471a7e189
1 changed files with 12 additions and 12 deletions

View File

@ -13,24 +13,24 @@ using atUint64 = uint64_t;
// Vector types
#include "simd/simd.hpp"
typedef struct {
struct atVec2f {
athena::simd<float> simd;
} atVec2f;
typedef struct {
};
struct atVec3f {
athena::simd<float> simd;
} atVec3f;
typedef struct {
};
struct atVec4f {
athena::simd<float> simd;
} atVec4f;
typedef struct {
};
struct atVec2d {
athena::simd<double> simd;
} atVec2d;
typedef struct {
};
struct atVec3d {
athena::simd<double> simd;
} atVec3d;
typedef struct {
};
struct atVec4d {
athena::simd<double> simd;
} atVec4d;
};
#ifndef UNUSED
#define UNUSED(x) ((void)x)