LitDev.LDPhysics.SetAABB C# (CSharp) Method

SetAABB() public static method

The physics engine AABB (axis-aligned bounding box). The units are the engine units of m. A Reset is required after setting. It is not recommended to change this.
public static SetAABB ( Primitive minX, Primitive maxX, Primitive minY, Primitive maxY ) : void
minX Primitive /// The left coordinate of the universe (default -100). ///
maxX Primitive /// The right coordinate of the universe (default 200). ///
minY Primitive /// The top coordinate of the universe (default -100). ///
maxY Primitive /// The bottom coordinate of the universe (default 200). ///
return void
        public static void SetAABB(Primitive minX, Primitive maxX, Primitive minY, Primitive maxY)
        {
            _Engine.minAABBB.X = minX;
            _Engine.maxAABBB.X = maxX;
            _Engine.minAABBB.Y = minY;
            _Engine.maxAABBB.Y = maxY;
        }