/** Transforms a point as specified, storing the result in the point provided. * @return a reference to the result point, for chaining. */ public static Point transform (float x, float y, float sx, float sy, float rotation, float tx, float ty, Point result) { return transform(x, y, sx, sy, FloatMath.sin(rotation), FloatMath.cos(rotation), tx, ty, result); }
/** Transforms a point as specified, storing the result in the point provided. * @return a reference to the result point, for chaining. */ public static Point transform (float x, float y, float sx, float sy, float rotation, float tx, float ty, Point result) { return transform(x, y, sx, sy, FloatMath.sin(rotation), FloatMath.cos(rotation), tx, ty, result); }