Example #1
0
        public bool RotateSelf(string name, warp_Matrix m)
        {
            if (_scene == null)
            {
                return(false);
            }

            warp_Object o = _scene.sceneobject(name);

            if (o == null)
            {
                return(false);
            }

            o.rotateSelf(m);

            return(true);
        }
Example #2
0
        public bool RotateSelf(string name, warp_Quaternion quat)
        {
            if (_scene == null)
            {
                return(false);
            }

            warp_Object o = _scene.sceneobject(name);

            if (o == null)
            {
                return(false);
            }

            o.rotateSelf(quat);

            return(true);
        }
Example #3
0
        public bool RotateSelf(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.rotateSelf(x, y, z);

            return(true);
        }
Example #4
0
        public bool RotateModelSelf(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.rotateSelf(x, y, z);
            }

            return(true);
        }