Exemplo n.º 1
0
        public bool ScaleModel(string name, float scale)
        {
            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.scaleSelf(scale);
            }

            return(true);
        }