You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
578 B
29 lines
578 B
package mightypork.test;
|
|
|
|
|
|
import mightypork.utils.math.rect.RectValue;
|
|
|
|
|
|
public class TestConstr {
|
|
|
|
public static void main(String[] args)
|
|
{
|
|
|
|
final RectValue rm = RectValue.make(0, 0, 100, 100);
|
|
System.out.println(rm);
|
|
|
|
final RectValue added = rm.move(10, 10);
|
|
|
|
System.out.println(added);
|
|
System.out.println(added.getOrigin());
|
|
System.out.println(added.getSize());
|
|
|
|
System.out.println(added.getOrigin().add(added.getSize()));
|
|
|
|
// VecMutable vv = new MutableCoord(0,0);
|
|
//
|
|
// System.out.println(vv);
|
|
// System.out.println(vv.add(50,50));
|
|
|
|
}
|
|
}
|
|
|