1#ifndef KMESHGENERATOR_H
2#define KMESHGENERATOR_H
62 int slices = 36,
int hemiStacks = 8);
Procedural mesh generators — no file I/O, no asset manager needed.
Definition kmeshgenerator.h:17
static kMesh * generateSphere(float radius=1.0f, int stacks=18, int slices=36)
Generate a UV sphere centred at the origin.
static kMesh * generateCube(float size=2.0f)
Generate an axis-aligned cube centred at the origin.
static kMesh * generateCapsule(float radius=1.0f, float height=2.0f, int slices=36, int hemiStacks=8)
Generate a capsule: a cylinder closed with hemispherical caps.
static kMesh * generateCylinder(float radius=1.0f, float height=2.0f, int slices=36)
Generate an upright cylinder with flat top and bottom caps.
static kMesh * generatePlane(float size=2.0f)
Generate a flat quad in the XZ plane, facing +Y.
Scene-graph node that holds renderable geometry.
Definition kmesh.h:35
Symbol visibility / linkage macro for the Kemena3D library.
#define KEMENA3D_API
Definition kexport.h:35
Polygonal mesh node with skeletal animation support.
Top-level Kemena3D engine namespace.
Definition kanimation.h:23