Banjo API 0.0.1
C99 game development API
Loading...
Searching...
No Matches
Geometry 2D
Collaboration diagram for Geometry 2D:

Functions

bj_bool bj_check_segments_hit (const bj_vec2 a0, const bj_vec2 a1, const bj_vec2 b0, const bj_vec2 b1)
bj_bool bj_check_circle_segment_hit (const bj_vec2 c, bj_real r, const bj_vec2 l0, const bj_vec2 l1)

Detailed Description

2D Geometry utilities

Function Documentation

◆ bj_check_circle_segment_hit()

bj_bool bj_check_circle_segment_hit ( const bj_vec2 c,
bj_real r,
const bj_vec2 l0,
const bj_vec2 l1 )

◆ bj_check_segments_hit()

bj_bool bj_check_segments_hit ( const bj_vec2 a0,
const bj_vec2 a1,
const bj_vec2 b0,
const bj_vec2 b1 )