|
Trace Engine
A Raycaster Engine in C
|
#include <trc_transform.h>
Data Fields | |
| trc_world_position_t | pos |
| float | angle |
| int | size |
A transform is like a point in 2D space, it has a position in that space, a direction in which is looking, and a size (for like areas or entities)
| float trc_transform_t::angle |
The current angle of the object
| trc_world_position_t trc_transform_t::pos |
The current position of the object
| int trc_transform_t::size |
The current collision size of the object