added SceneNode::CreateSubNode(RenderableInstance *) function.
This commit is contained in:
parent
76b431c3f7
commit
bbab22304d
@ -57,6 +57,14 @@ namespace hgl
|
|||||||
return sn;
|
return sn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SceneNode *CreateSubNode(RenderableInstance *ri)
|
||||||
|
{
|
||||||
|
SceneNode *sn=new SceneNode(ri);
|
||||||
|
|
||||||
|
SubNode.Add(sn);
|
||||||
|
return sn;
|
||||||
|
}
|
||||||
|
|
||||||
SceneNode *CreateSubNode(const Matrix4f &mat)
|
SceneNode *CreateSubNode(const Matrix4f &mat)
|
||||||
{
|
{
|
||||||
SceneNode *sn=new SceneNode(mat);
|
SceneNode *sn=new SceneNode(mat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user