mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- removed a few more dependencies on Build includes.
This commit is contained in:
parent
83a760874b
commit
1bb7da173a
5 changed files with 58 additions and 9 deletions
53
source/core/intvec.h
Normal file
53
source/core/intvec.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
#pragma once
|
||||
|
||||
struct vec2_16_t
|
||||
{
|
||||
int16_t x, y;
|
||||
};
|
||||
|
||||
|
||||
#if 0
|
||||
struct vec2_t
|
||||
{
|
||||
int32_t x, y;
|
||||
};
|
||||
|
||||
struct vec2u_t
|
||||
{
|
||||
uint32_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
|
Loading…
Add table
Add a link
Reference in a new issue