12#ifndef BJ_GEOMETRY_2D_H
13#define BJ_GEOMETRY_2D_H
General-purpose definitions for Banjo API.
uint32_t bj_bool
Boolean type used throughout the Banjo API.
bj_bool bj_check_circle_segment_hit(struct bj_vec2 c, bj_real r, struct bj_vec2 l0, struct bj_vec2 l1)
Check if a circle intersects with a line segment.
bj_bool bj_check_segments_hit(struct bj_vec2 a0, struct bj_vec2 a1, struct bj_vec2 b0, struct bj_vec2 b1)
Check if two line segments intersect.
float bj_real
Selected real type for float configuration.
2D vector of bj_real components.
Fixed-size vector types (2D, 3D, 4D) and inline operations.