OSDN Git Service

Added functionality to rectangle
authorJonathan Pearl <jonathantpearl@gmail.com>
Wed, 31 Jul 2013 02:49:19 +0000 (20:49 -0600)
committerJonathan Pearl <jonathantpearl@gmail.com>
Wed, 31 Jul 2013 02:49:19 +0000 (20:49 -0600)
commite83eb23f543040bafd7e78b700913672c2cf04fe
treeeafc6b9e250d7046400a0711581aef942566ba05
parent4aee5794bfe2ca2409abc69eb997218d8b2960f2
Added functionality to rectangle

Calculating aspect ratio, calculating center point, centering the
rectangle to a point, fitting a rectangle in/outside another rectangle
while maintaining aspect ratio.
gdx/src/com/badlogic/gdx/math/Rectangle.java