This commit is contained in:
Daniel Ledda
2025-02-09 14:03:01 +01:00
parent e463593f4e
commit d4b1deb501
4 changed files with 8 additions and 8 deletions

View File

@@ -31,18 +31,18 @@ Entity *get_entity(uint32 id);
SceneGraphNode *get_scene_graph_node(int id);
uint32 new_graph_node();
void log(glm::vec3* vector) {
void print(glm::vec3* vector) {
glm::vec3 vec = *vector;
log(
print(
"┌ ┐\n"
"│%7.2f%, %7.2f, %7.2f │\n"
"└ ┘\n",
vec[0], vec[1], vec[2]);
}
void log(glm::mat4* matrix) {
void print(glm::mat4* matrix) {
glm::mat4 mat = *matrix;
log(
print(
"┌ ┐\n"
"│%7.2f%, %7.2f, %7.2f, %7.2f │\n"
"│%7.2f%, %7.2f, %7.2f, %7.2f │\n"