Example #1
0
scene::Node& MDLModel_default(){
	ModelNode* modelNode = new ModelNode();
	Model_constructNull( modelNode->model() );
	return modelNode->node();
}
Example #2
0
scene::Node& MD2Model_new( const byte* buffer, ArchiveFile& file ){
	ModelNode* modelNode = new ModelNode();
	MD2Model_read( modelNode->model(), buffer, file );
	return modelNode->node();
}
Example #3
0
scene::Node& MDLModel_new( const byte* buffer, const char* name ){
	ModelNode* modelNode = new ModelNode();
	MDLModel_read( modelNode->model(), buffer, name );
	return modelNode->node();
}
Example #4
0
scene::Node& MDCModel_new(const byte* buffer)
{
  ModelNode* modelNode = new ModelNode();
  MDCModel_read(modelNode->model(), buffer);
  return modelNode->node();
}