Skip to content
Snippets Groups Projects
Commit 8fc26ed5 authored by Shon Ferguson's avatar Shon Ferguson
Browse files

Added QueryNode() function for SWIG wrappers

parent 21ed7dfa
No related branches found
No related tags found
No related merge requests found
......@@ -474,4 +474,8 @@ ITriShapeData * QueryTriShapeData( blk_ref block ) {
ISkinData * QuerySkinData( blk_ref block ) {
return (ISkinData*)block->QueryInterface( SkinData );
}
\ No newline at end of file
}
INode * QueryNode( blk_ref block ) {
return (INode*)block->QueryInterface( Node );
}
......@@ -54,6 +54,7 @@ class IAttr;
class IBlock;
class ITriShapeData;
class ISkinData;
class INode;
class blk_ref;
class attr_ref;
struct blk_link;
......@@ -98,6 +99,9 @@ unsigned int BlocksInMemory();
// These are shorthands for using QueryInterface, and required for scripting languages
ITriShapeData * QueryTriShapeData( blk_ref block );
ISkinData * QuerySkinData( blk_ref block );
INode * QueryNode( blk_ref block );
//--TypeDefs--//
typedef float float3[3];
typedef float matrix[3][3];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment