Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Functions
engine_api.h File Reference
#include "core/engine.h"

Go to the source code of this file.

Functions

void create_camera_entity (const flecs::world &world, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), float fov=45.0f, float near_plane=0.1f, float far_plane=1000.0f)
 
void create_mesh_entity (const char *name, const char *path, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), const glm::vec3 &scale=glm::vec3(1.0f), const char *material_tag="default_material")
 
void create_model_entity (const char *name, const char *path, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), const glm::vec3 &scale=glm::vec3(1.0f))
 
void create_material (const char *name, const Material &material)
 

Function Documentation

◆ create_camera_entity()

void create_camera_entity ( const flecs::world &  world,
const glm::vec3 &  position = glm::vec3(0),
const glm::vec3 &  rotation = glm::vec3(0),
float  fov = 45.0f,
float  near_plane = 0.1f,
float  far_plane = 1000.0f 
)

◆ create_material()

void create_material ( const char *  name,
const Material material 
)

◆ create_mesh_entity()

void create_mesh_entity ( const char *  name,
const char *  path,
const glm::vec3 &  position = glm::vec3(0),
const glm::vec3 &  rotation = glm::vec3(0),
const glm::vec3 &  scale = glm::vec3(1.0f),
const char *  material_tag = "default_material" 
)

◆ create_model_entity()

void create_model_entity ( const char *  name,
const char *  path,
const glm::vec3 &  position = glm::vec3(0),
const glm::vec3 &  rotation = glm::vec3(0),
const glm::vec3 &  scale = glm::vec3(1.0f) 
)