#include <Sphere.h>
|
| static void | subdivide_triangle (std::vector< glm::vec3 > &vertices, const glm::vec3 &v1, const glm::vec3 &v2, const glm::vec3 &v3, int depth) |
| |
Definition at line 24 of file Sphere.h.
◆ create()
| EntityID hellfire::Sphere::create |
( |
Scene * |
scene, |
|
|
const std::string & |
name, |
|
|
const Config & |
config |
|
) |
| |
|
static |
◆ create_mesh()
| std::shared_ptr< Mesh > hellfire::Sphere::create_mesh |
( |
int |
rings = 32, |
|
|
int |
sectors = 32 |
|
) |
| |
|
static |
◆ get_sphere_data()
| void hellfire::Sphere::get_sphere_data |
( |
std::vector< Vertex > & |
vertices, |
|
|
std::vector< unsigned int > & |
indices, |
|
|
float |
radius, |
|
|
int |
rings = 32, |
|
|
int |
sectors = 32 |
|
) |
| |
|
static |
◆ subdivide_triangle()
| void hellfire::Sphere::subdivide_triangle |
( |
std::vector< glm::vec3 > & |
vertices, |
|
|
const glm::vec3 & |
v1, |
|
|
const glm::vec3 & |
v2, |
|
|
const glm::vec3 & |
v3, |
|
|
int |
depth |
|
) |
| |
|
staticprivate |
The documentation for this class was generated from the following files:
- engine/src/hellfire/graphics/geometry/Sphere.h
- engine/src/hellfire/graphics/geometry/Sphere.cpp