/** Constructs a new Transform instance with the given position and angle * @param position the position * @param angle the angle in radians */ public Transform (Vector2 position, float angle) { setPosition(position); setRotation(angle); } /** Constructs a new Transform instance with the given position and orientation
/** Constructs a new Transform instance with the given position and orientation * @param position the position * @param orientation where the transform is pointing*/ public Transform (Vector2 position, Vector2 orientation) { setPosition(position); setOrientation(orientation); }
/** Constructs a new Transform instance with the given position and angle * @param position the position * @param angle the angle in radians */ public Transform (Vector2 position, float angle) { setPosition(position); setRotation(angle); } /** Constructs a new Transform instance with the given position and orientation
/** Constructs a new Transform instance with the given position and orientation * @param position the position * @param orientation where the transform is pointing*/ public Transform (Vector2 position, Vector2 orientation) { setPosition(position); setOrientation(orientation); }
xf1.setPosition(xf1.mul(new Vector2(1, 0))); xf2.setPosition(xf2.mul(new Vector2(-1, 0)));
/** Constructs a new Transform instance with the given position and orientation * @param position the position * @param orientation where the transform is pointing*/ public Transform (Vector2 position, Vector2 orientation) { setPosition(position); setOrientation(orientation); }
/** Constructs a new Transform instance with the given position and angle * @param position the position * @param angle the angle in radians */ public Transform (Vector2 position, float angle) { setPosition(position); setRotation(angle); } /** Constructs a new Transform instance with the given position and orientation