grizzley90
12-11-2006 18:08:21
How can i pass a node to a renderable?
Since renderable is an abstract class (http://www.ogre3d.org/docs/api/html/cla ... rable.html) node should inherit from it or implement it meaning that i can implicitly pass a node to a renderable, no?
I should be able to do something like this
SetRenderable(mynode);
or am I still thinking c++ and not c#?
Maybe Renderable should be an interface?
Since renderable is an abstract class (http://www.ogre3d.org/docs/api/html/cla ... rable.html) node should inherit from it or implement it meaning that i can implicitly pass a node to a renderable, no?
I should be able to do something like this
SetRenderable(mynode);
or am I still thinking c++ and not c#?
Maybe Renderable should be an interface?