public bool RotateObject(string name, float x, float y, float z) { if (_scene == null) { return(false); } warp_Object o = _scene.sceneobject(name); if (o == null) { return(false); } o.rotate(x, y, z); return(true); }
public bool RotateModel(string name, float x, float y, float z) { if (_scene == null) { return(false); } Hashtable model = ( Hashtable )_models[name]; if (model == null) { return(false); } foreach (DictionaryEntry myDE in model) { string key = ( string )myDE.Key; warp_Object o = ( warp_Object )myDE.Value; o.rotate(x, y, z); } return(true); }