Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::Mesh::Factory Class Reference

#include <Mesh.hpp>

Public Types

enum class  Type {
  UNDEFINED = 0 , PLANE = 1 , CUBE = 2 , CUBEMAP = 3 ,
  CYLINDER = 4 , CONE = 5 , SPHERE = 6
}
 

Static Public Member Functions

static Mesh create (Type type)
 
static Mesh createTorus (float innerRadius, float outerRadius, int radialSegments, int tubularSegments)
 

Static Private Member Functions

static Mesh createPlane ()
 
static Mesh createCube ()
 
static Mesh createCubeMap ()
 
static Mesh createCylinder ()
 
static Mesh createCone ()
 
static Mesh createSphere ()
 

Member Enumeration Documentation

◆ Type

Enumerator
UNDEFINED 
PLANE 
CUBE 
CUBEMAP 
CYLINDER 
CONE 
SPHERE 

Member Function Documentation

◆ create()

Mesh shkyera::Mesh::Factory::create ( Type  type)
static

◆ createCone()

Mesh shkyera::Mesh::Factory::createCone ( )
staticprivate

◆ createCube()

Mesh shkyera::Mesh::Factory::createCube ( )
staticprivate

◆ createCubeMap()

Mesh shkyera::Mesh::Factory::createCubeMap ( )
staticprivate

◆ createCylinder()

Mesh shkyera::Mesh::Factory::createCylinder ( )
staticprivate

◆ createPlane()

Mesh shkyera::Mesh::Factory::createPlane ( )
staticprivate

◆ createSphere()

Mesh shkyera::Mesh::Factory::createSphere ( )
staticprivate

◆ createTorus()

Mesh shkyera::Mesh::Factory::createTorus ( float  innerRadius,
float  outerRadius,
int  radialSegments,
int  tubularSegments 
)
static

The documentation for this class was generated from the following files: