coastline 0.0.4
Loading...
Searching...
No Matches
trianglebox.h File Reference
#include "common/physics.h"
Include dependency graph for trianglebox.h:

Go to the source code of this file.

Functions

static void TriangleInBox (Vec3f corners[3], Vec3f *normal, f32 box[4][4], TrackTriangle *t)
 Move t into the unit cube of box and calculate its normal there.

Function Documentation

◆ TriangleInBox()

void TriangleInBox ( Vec3f corners[3],
Vec3f * normal,
f32 box[4][4],
TrackTriangle * t )
inlinestatic

Move t into the unit cube of box and calculate its normal there.