- More Documentation

- Vulkan Configuration Implementations
 - Fixed build errors on GCC and Clang
This commit is contained in:
2026-07-18 23:48:00 -04:00
parent ed381c4178
commit cf909624df
164 changed files with 19857 additions and 5872 deletions

View File

@@ -24,16 +24,16 @@ namespace fennec
scene_node* scene::operator[](const cstring& name) const {
list<size_t> parse;
parse.push_back(table_t::root);
parse.push_back(tree_t::root);
while (not parse.is_empty()) {
size_t n = parse.front();
if (_table[n]->name == name) {
return _table[n].get();
const size_t n = parse.front();
if (_tree[n]->name == name) {
return _tree[n].get();
}
// Pre-Order traversal
parse.push_front(_table.next(n));
parse.push_front(_table.child(n));
parse.push_front(_tree.next(n));
parse.push_front(_tree.child(n));
parse.pop_front();
}
return nullptr;
@@ -41,16 +41,16 @@ scene_node* scene::operator[](const cstring& name) const {
scene_node* scene::operator[](const string& name) const {
list<size_t> parse;
parse.push_back(table_t::root);
parse.push_back(tree_t::root);
while (not parse.is_empty()) {
size_t n = parse.front();
if (_table[n]->name == name) {
return _table[n].get();
const size_t n = parse.front();
if (_tree[n]->name == name) {
return _tree[n].get();
}
// Pre-Order traversal
parse.push_front(_table.next(n));
parse.push_front(_table.child(n));
parse.push_front(_tree.next(n));
parse.push_front(_tree.child(n));
parse.pop_front();
}
return nullptr;