Class Helpers
java.lang.Object
com.raylib.Helpers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Raylib.BoundingBox
static Raylib.BoundingBox
newBoundingBox
(Raylib.Vector3 min, Raylib.Vector3 max) static Raylib.Camera3D
newCamera
(Raylib.Vector3 position, Raylib.Vector3 target, Raylib.Vector3 up, float fovy, int projection) static Raylib.Camera2D
newCamera2D
(Raylib.Vector2 offset, Raylib.Vector2 target, float rotation, float zoom) static Raylib.Color
newColor
(int r, int g, int b, int a) static Raylib.Ray
newRay
(Raylib.Ray ray) static Raylib.Ray
newRay
(Raylib.Vector3 position, Raylib.Vector3 direction) static Raylib.RayCollision
newRayCollision
(boolean hit, float distance, Raylib.Vector3 point, Raylib.Vector3 normal) static Raylib.RayCollision
newRectangle
(float x, float y, float width, float height) static Raylib.Rectangle
newRectangle
(Raylib.Rectangle rect) static Raylib.Vector2
newVector2
(float x, float y) static Raylib.Vector2
newVector2
(Raylib.Vector2 vector2) static Raylib.Vector3
newVector3
(float x, float y, float z) static Raylib.Vector3
newVector3
(Raylib.Vector3 vector3)
-
Constructor Details
-
Helpers
public Helpers()
-
-
Method Details
-
newColor
-
newCamera
public static Raylib.Camera3D newCamera(Raylib.Vector3 position, Raylib.Vector3 target, Raylib.Vector3 up, float fovy, int projection) -
newCamera2D
public static Raylib.Camera2D newCamera2D(Raylib.Vector2 offset, Raylib.Vector2 target, float rotation, float zoom) -
newRectangle
-
newRectangle
-
newBoundingBox
-
newBoundingBox
-
newRay
-
newRay
-
newRayCollision
public static Raylib.RayCollision newRayCollision(boolean hit, float distance, Raylib.Vector3 point, Raylib.Vector3 normal) -
newRayCollision
-
newVector3
-
newVector3
-
newVector2
-
newVector2
-