lv_3dmath.h

Typedefs

typedef lv_3dplane_t lv_3dray_t

Functions

lv_3dplane_t lv_get_ground_plane(float elevation)

Get a plane that faces upward, centered at a given height

Parameters:

elevation – elevation of the ground plane, in world units. this is usually zero

Returns:

ground plane

struct lv_3dpoint_t

Public Members

float x
float y
float z
struct lv_quaternion_t

Public Members

float x
float y
float z
float w
struct lv_3dplane_t

Public Members

lv_3dpoint_t origin
lv_3dpoint_t direction