public class Angles
extends java.lang.Object
| Constructor and Description |
|---|
Angles() |
| Modifier and Type | Method and Description |
|---|---|
static float |
angleDist(float a,
float b) |
static float |
BackwardDistance(float angle1,
float angle2) |
static float |
ForwardDistance(float angle1,
float angle2) |
static float |
mouseAngle(com.badlogic.gdx.graphics.OrthographicCamera camera,
float cx,
float cy) |
static float |
MoveToward(float angle,
float to,
float speed) |
static com.badlogic.gdx.math.Vector2 |
rotate(float x,
float y,
float angle) |
static com.badlogic.gdx.math.Vector2 |
translation(float angle,
float amount) |
public static float ForwardDistance(float angle1,
float angle2)
public static float BackwardDistance(float angle1,
float angle2)
public static float angleDist(float a,
float b)
public static float MoveToward(float angle,
float to,
float speed)
public static com.badlogic.gdx.math.Vector2 rotate(float x,
float y,
float angle)
public static com.badlogic.gdx.math.Vector2 translation(float angle,
float amount)
public static float mouseAngle(com.badlogic.gdx.graphics.OrthographicCamera camera,
float cx,
float cy)