The libraries public types and functions.
AT_Result AT_model_create(AT_Model **out_model, const char *filepath)
AT_Model constructor for a given glb filepath.
void AT_model_destroy(AT_Model *model)
Destroys an allocated AT_Model.
void AT_model_to_AABB(AT_AABB *out_aabb, const AT_Model *model)
Calculates the min and max of a model for AABB collision.
AT_Result AT_model_get_triangles(AT_Triangle **out_triangles, const AT_Model *model)
Constructs all triangles in a given Model.
AT_Result
Defines possible result types.
Definition at.h:24
Axis-Aligned Bounding Box for triangle(s).
Definition at_math.h:48
Groups the necessary information representing the 3D model.
Groups three AT_Vec3 to represent a triangle.
Definition at_math.h:58