Files
Cesarus85--mjolnir-vr/source/math/integer_math.h
T
2025-11-27 02:50:32 +00:00

36 lines
495 B
C

/*
INTEGER_MATH.H
*/
#ifndef __INTEGER_MATH_H
#define __INTEGER_MATH_H
#pragma once
/* ---------- constants */
/* ---------- macros */
/* ---------- structures */
union point2d
{
short n[2];
struct { short x, y; };
};
typedef union point2d point2d;
union rectangle2d
{
short v[4];
struct { short y0, x0, y1, x1; };
};
typedef union rectangle2d rectangle2d;
/* ---------- prototypes/INTEGER_MATH.C */
/* ---------- globals */
/* ---------- public code */
#endif // __INTEGER_MATH_H