Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::scene::primitive Namespace Reference

Standard mesh primitives (Cube, Plane, Teapot, etc...) More...

Classes

struct  Cube
 A cube mesh from (-0.5f, -0.5f, -0.5f) to (0.5f, 0.5f, 0.5f) More...
 
struct  Plane
 A plane mesh from (-0.5f, -0.5f) to (0.5f, 0.5f) facing Y upward so you can use it as a simple floor. More...
 
struct  PlatonicSolid
 Primitive generating a Platonic solid. More...
 
class  Sphere
 
struct  Teapot
 The Utah teapot. More...
 

Enumerations

enum class  PlatonicSolidType { TETRAHEDRON , OCTAHEDRON , DODECAHEDRON , ICOSAHEDRON }
 Type of Platonic solid. More...
 

Detailed Description

Standard mesh primitives (Cube, Plane, Teapot, etc...)

Enumeration Type Documentation

◆ PlatonicSolidType

Type of Platonic solid.

Vertices position are extracted from PlatonicSolids.pdf by Geometric tools

Note
Cube is purposely missing, use Cube primitive