mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Move object nametags to camera
This commit is contained in:
parent
4c654557ec
commit
c3b279750e
9 changed files with 138 additions and 54 deletions
|
@ -32,6 +32,8 @@ class IShaderSource;
|
|||
class MtEventManager;
|
||||
class IRollbackManager;
|
||||
class EmergeManager;
|
||||
class Camera;
|
||||
|
||||
namespace irr { namespace scene {
|
||||
class IAnimatedMesh;
|
||||
class ISceneManager;
|
||||
|
@ -67,6 +69,10 @@ public:
|
|||
{ return NULL; }
|
||||
virtual scene::ISceneManager* getSceneManager()=0;
|
||||
|
||||
virtual Camera* getCamera()
|
||||
{ return NULL; }
|
||||
virtual void setCamera(Camera *camera) {}
|
||||
|
||||
// Only usable on the server, and NOT thread-safe. It is usable from the
|
||||
// environment thread.
|
||||
virtual IRollbackManager* getRollbackManager(){return NULL;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue