Пример #1
0
        /***************************************************/

        // Clone.
        public override GuanacoObject Clone(bool newID = false)
        {
            GravityLoad gl = this.ShallowClone(newID) as GravityLoad;

            gl._gravityFactor = new Vector3d(this._gravityFactor);
            return(gl);
        }
Пример #2
0
        /***************************************************/

        // Apply gravity load to the model.
        private void ApplyLoad(GravityLoad load)
        {
            this._gravity += load.GravityFactor;
        }