mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add BlockWrapsRenderer (WIP)
This commit is contained in:
parent
14b596140d
commit
9e02f1122f
7 changed files with 160 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ public:
|
|||
}
|
||||
|
||||
template <class T>
|
||||
std::shared_ptr<T> getObject(uint64_t id) {
|
||||
std::shared_ptr<T> getObject(uint64_t id) const {
|
||||
static_assert(
|
||||
std::is_base_of<Object, T>::value,
|
||||
"T must be a derived of Object class"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue