raze-gles/source/core/intvec.h
Christoph Oelckers ec1c42b04a - got rid of common.h
All still relevant content was moved to places closer to its use.
2020-09-08 18:39:47 +02:00

48 lines
407 B
C

#pragma once
struct vec2_16_t
{
int16_t x, y;
};
#if 0
struct vec2_t
{
int32_t x, y;
};
struct vec2f_t
{
float x, y;
};
struct vec2d_t
{
double x, y;
};
struct vec3_t
{
union
{
struct
{
int32_t x, y, z;
};
vec2_t vec2;
};
};
struct vec3_16_t
{
union
{
struct
{
int16_t x, y, z;
};
vec2_16_t vec2;
};
};
#endif