This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-libneofx/neofx/types.h
neoraider f5ef6536cc libneofx: neofx/types.h: TRIANGLE-Struktur aufger?umt;
libzoom: zoom/types.h: WALL-Struktur als Ersatz f?r TRIANGLE eingef?gt; 
zoom/level.h, level.c und player.c an die neuen Strukturen angepasst
2005-04-23 11:41:04 +00:00

24 lines
380 B
C

#ifndef NEOFX_TYPES_H
#define NEOFX_TYPES_H
#pragma pack(push, 2)
typedef union _MATRIX {
float m[4][4];
float f[16];
} MATRIX;
typedef struct _VECTOR_VERTEX {
float x, y, z;
} VECTOR, VERTEX;
typedef struct _TEXCOORDS {
float s, t;
} TEXCOORDS;
typedef struct _TRIANGLE {
VERTEX vertices[3];
VECTOR normal;
} TRIANGLE;
#pragma pack(pop)
#endif