Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
trc_transform_t Struct Reference

#include <trc_transform.h>

Data Fields

trc_world_position_t pos
 
float angle
 
int size
 

Detailed Description

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)

Field Documentation

◆ angle

float trc_transform_t::angle

The current angle of the object

◆ pos

trc_world_position_t trc_transform_t::pos

The current position of the object

◆ size

int trc_transform_t::size

The current collision size of the object


The documentation for this struct was generated from the following file: