Java com.badlogic.gdx.math.collision Ray fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.math.collision Ray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.math.collision Ray.

The text is from its open source code.

Constructor

Ray(Vector3 origin, Vector3 direction)
Constructor, sets the starting position of the ray and the direction.

Method

Vector3getEndPoint(final Vector3 out, final float distance)
Returns the endpoint given the distance.