RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_mesh_camera_t Struct Reference

Orthographic camera: world-space eye/target/up and vertical view span. More...

#include <mesh_paint.h>

Data Fields

float position [3]
float target [3]
float up [3]
float scale

Detailed Description

Orthographic camera: world-space eye/target/up and vertical view span.

Forward is target-eye; right=cross(forward,up). All fields must be finite; scale is positive, eye!=target, and up is not parallel to forward. No near-plane clipping: the complete referenced model, including hidden nodes, must have finite depth strictly greater than zero.

Field Documentation

◆ position

float rmgui_mesh_camera_t::position[3]

◆ target

float rmgui_mesh_camera_t::target[3]

◆ up

float rmgui_mesh_camera_t::up[3]

◆ scale

float rmgui_mesh_camera_t::scale

The documentation for this struct was generated from the following file: