lv_3dmath.h
API reference for lv_3dmath.h
Summary
Functions
libs/gltf/math/lv_3dmath.h:59function
lv_get_ground_plane
Get a plane that faces upward, centered at a given height
lv_3dplane_t lv_get_ground_plane(float elevation)| Name | Type | Description |
|---|---|---|
elevation | float | elevation of the ground plane, in world units. this is usually zero |
Returns: lv_3dplane_t — ground plane
Structs
struct
lv_3dpoint_t
| Member | Type | Description |
|---|---|---|
x | float | |
y | float | |
z | float |
Used by 6 functions
lv_gltf_model_node_get_local_position— paramresultlv_gltf_model_node_get_world_position— paramresultlv_gltf_model_node_get_scale— paramresultlv_gltf_model_node_get_euler_rotation— paramresultlv_intersect_ray_with_plane— paramcollision_pointlv_gltf_world_to_screen— paramworld_pos
struct
lv_quaternion_t
| Member | Type | Description |
|---|---|---|
x | float | |
y | float | |
z | float | |
w | float |
struct
lv_3dplane_t
| Member | Type | Description |
|---|---|---|
origin | lv_3dpoint_t | |
direction | lv_3dpoint_t |
Used by 1 function
lv_intersect_ray_with_plane— paramplane
Typedefs
lv_3dray_t
typedef lv_3dplane_t lv_3dray_tUsed by 1 function
lv_intersect_ray_with_plane— paramray
Dependencies
How is this guide?
Last updated on