Bounds.calculate

based on calculate bounds for an object in 2d space taking into account its transform https://github.com/prime31/Nez/blob/0e97e68bd9df191fb3b893eb69e54238c30fcc80/Nez.Portable/Utils/Extensions/Bounds.cs#L184

  1. Rectangle calculate(Transform transform, Vector2 origin, float width, float height)
    class Bounds
    static
    Rectangle
    calculate
    (
    ref Transform transform
    ,
    Vector2 origin
    ,
    float width
    ,
    float height
    )
  2. BoundingBox calculate(BoundingBox bounds, Transform transform)

Meta