Goblin3D 0.0.2
Graphics engine for rendering 3D wireframe on monochromatic displays and TFT LCDs without any dependency required for Arduino platform.
|
Structure representing a 3D object for rendering using the Goblin3D library. More...
#include <goblin3d.h>
Public Attributes | |
float ** | points |
uint32_t ** | edges |
float ** | orig_points |
float ** | rotated_points |
float | x_offset |
float | y_offset |
float | z_offset |
float | x_angle_deg |
float | y_angle_deg |
float | z_angle_deg |
uint32_t | point_count |
uint32_t | edge_count |
float | scale_size |
Structure representing a 3D object for rendering using the Goblin3D library.
This structure contains the necessary data for representing a 3D object, including the points in 3D space, edges that connect these points, and various transformation parameters such as rotation angles and offsets.
uint32_t goblin3d_obj_t::edge_count |
The number of edges connecting the points in the 3D object.
uint32_t** goblin3d_obj_t::edges |
2D array storing pairs of indices that represent the edges connecting the points.
float** goblin3d_obj_t::orig_points |
2D array storing the original 3D coordinates of each point before any transformations.
uint32_t goblin3d_obj_t::point_count |
The number of points (vertices) in the 3D object.
float** goblin3d_obj_t::points |
2D array storing the projected 2D coordinates of each point after transformations.
float** goblin3d_obj_t::rotated_points |
2D array storing the 3D coordinates of each point after rotation but before projection.
float goblin3d_obj_t::scale_size |
Scaling factor applied to the projected points.
float goblin3d_obj_t::x_angle_deg |
Rotation angle around the X-axis, in degrees.
float goblin3d_obj_t::x_offset |
Horizontal offset applied to the projected points.
float goblin3d_obj_t::y_angle_deg |
Rotation angle around the Y-axis, in degrees.
float goblin3d_obj_t::y_offset |
Vertical offset applied to the projected points.
float goblin3d_obj_t::z_angle_deg |
Rotation angle around the Z-axis, in degrees.
float goblin3d_obj_t::z_offset |
Depth offset applied to the projected points.