Пример #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static LimitConeRange Default()
        {
            LimitConeRange value = new LimitConeRange();

            value.yLimitAngle = Radian.Default();
            value.zLimitAngle = Radian.Default();
            value.contactDist = -1f;
            value.restitution = 0f;
            value.spring      = Spring.Default();

            return(value);
        }
Пример #2
0
        /// <summary>Initializes the struct with default values.</summary>
        public static LimitAngularRange Default()
        {
            LimitAngularRange value = new LimitAngularRange();

            value.lower       = Radian.Default();
            value.upper       = Radian.Default();
            value.contactDist = -1f;
            value.restitution = 0f;
            value.spring      = Spring.Default();

            return(value);
        }