19 static std::optional<Mesh>
make_plane(
unsigned int x,
unsigned int z);
33 static std::optional<Mesh>
make_capsule(
unsigned int resolution,
float height,
float radius);
38 static std::optional<Mesh>
make_uv_sphere(
unsigned int lat,
unsigned int lon);
基本网格生成器.
Definition: Primitive.h:14
static std::optional< Mesh > make_plane(unsigned int x, unsigned int z)
生成平面.
Definition: Primitive.cpp:141
static Mesh make_ico_sphere(unsigned int resolution)
生成 ICO 球.
Definition: Primitive.cpp:491
static std::optional< Mesh > make_uv_sphere(unsigned int lat, unsigned int lon)
生成包含 UV 坐标的球.
Definition: Primitive.cpp:216
static std::optional< Mesh > make_capsule(unsigned int resolution, float height, float radius)
生成立方体.
Definition: Primitive.cpp:341