Subastra
Loading...
Searching...
No Matches
Typedefs | Functions
sat.h File Reference
#include "../vec2.h"
#include <alloca.h>
Include dependency graph for sat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef vec2 float2
 

Functions

static bool sat_float2_is_overlap (float2 a, float2 b)
 
static float2 sat_vec2_project (vec2 *vs, sz n, vec2 axis)
 
static bool sat_intersect (vec2 *vs1, sz n1, vec2 *vs2, sz n2, vec2 *minimal)
 

Typedef Documentation

◆ float2

typedef vec2 float2

Function Documentation

◆ sat_float2_is_overlap()

static bool sat_float2_is_overlap ( float2  a,
float2  b 
)
static

◆ sat_intersect()

static bool sat_intersect ( vec2 vs1,
sz  n1,
vec2 vs2,
sz  n2,
vec2 minimal 
)
static

◆ sat_vec2_project()

static float2 sat_vec2_project ( vec2 vs,
sz  n,
vec2  axis 
)
static