Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mesh = unserialize( io_file_read( "testdata/bunny.ssm" ) );
- _R.MeshVD = _R.SS3D.createVertexDecl( mesh.format );
- _R.Mesh.setVertexData( mesh.vdata, _R.MeshVD, false );
- _R.Mesh.setIndexData( mesh.idata, true );
- _R.Mesh.numParts = 1;
- _R.Mesh.setPart( 0, null, 0, mesh.vcount, 0, mesh.icount );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement