Euphoria
eu::core::meshes Namespace Reference

Classes

struct  FileForAssimp
 
struct  FilesystemForAssimp
 

Functions

LoadedMeshOrError load_mesh (io::FileSystem *fs, const io::FilePath &path)
 
Mesh create_cube (float size)
 
Mesh create_sphere (float size, const std::string &texture)
 
Mesh create_box (float width, float height, float depth)
 

Function Documentation

◆ create_box()

Mesh eu::core::meshes::create_box ( float  width,
float  height,
float  depth 
)

Definition at line 716 of file mesh.cc.

◆ create_cube()

Mesh eu::core::meshes::create_cube ( float  size)

Definition at line 696 of file mesh.cc.

◆ create_sphere()

Mesh eu::core::meshes::create_sphere ( float  size,
const std::string &  texture 
)

Definition at line 703 of file mesh.cc.

◆ load_mesh()

LoadedMeshOrError eu::core::meshes::load_mesh ( io::FileSystem fs,
const io::FilePath path 
)

Definition at line 664 of file mesh.cc.