Module gemini_engine::elements3d::view3d
source · Expand description
Structs§
- A Face contains indices to a mesh’s collection of vertices and a
ColCharto fill the face. Indices should be arranged in a clockwise order, as if they appear counter-clockwise when rendering they will not be rendered at all (this is how gemini-engine handles backface culling and maximises performance) - A light object used to define a scene’s lighting. Used by
DisplayMode::Illuminated - The
Transform3Dstruct is used to manipulate the position of objects in 3D space - A point in 3D space, using
f64s - The
Viewporthandles printing 3D objects to a 2DView, and also acts as the scene’s camera.
Enums§
DisplayModedetermines how theViewportrenders our 3D objects. This is the Gemini equivalent of Blender’s Viewport Shading options- The
Constants§
- Characters for brightness. The first character is the darkest and the rightmost character is the brightest