summaryrefslogtreecommitdiff
path: root/src/blu_cat/gra/animation.cpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2025-09-05 09:55:25 -0300
committerFrederico Linhares <fred@linhares.blue>2025-09-05 09:55:25 -0300
commit6deda4129825b4b77fb7179f43d4bb7a755c4813 (patch)
treec3d85044f53144257de73819bfcb9dc41af45f70 /src/blu_cat/gra/animation.cpp
parent68761609f3b98bfc99f2164eece12027d5575c0b (diff)
feat Add hierarchy to skeletal meshHEADmaster
Diffstat (limited to 'src/blu_cat/gra/animation.cpp')
-rw-r--r--src/blu_cat/gra/animation.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/blu_cat/gra/animation.cpp b/src/blu_cat/gra/animation.cpp
index dc2c281..062fb48 100644
--- a/src/blu_cat/gra/animation.cpp
+++ b/src/blu_cat/gra/animation.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2022-2024 Frederico de Oliveira Linhares
+ * Copyright 2022-2025 Frederico de Oliveira Linhares
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,8 +19,9 @@
namespace BluCat::GRA
{
-Bone::Bone(glm::mat4 offset_matrix):
- offset_matrix{offset_matrix}
+Bone::Bone(glm::mat4 offset_matrix, UI16 parent):
+ offset_matrix{offset_matrix},
+ parent{parent}
{
}