adding and integrating ImGuizmo
This commit is contained in:
@@ -86,6 +86,14 @@ glm::vec2 ResourceRegistryRef::getExtent(RenderTargetHandle handle) const {
|
||||
return {static_cast<float>(extent.width), static_cast<float>(extent.height)};
|
||||
}
|
||||
|
||||
AABB ResourceRegistryRef::getBounds(MeshHandle handle) const {
|
||||
return registry->meshPool.get(handle).getBounds();
|
||||
}
|
||||
|
||||
bool ResourceRegistryRef::isAlive(MeshHandle handle) const {
|
||||
return registry->meshPool.isAlive(handle);
|
||||
}
|
||||
|
||||
bool ResourceRegistryRef::isAlive(RenderTargetHandle handle) const {
|
||||
return registry->renderTargetPool.isAlive(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user