Skip to content

Commit

Permalink
Fix formatting for link to bounding boxes page (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crozzers committed May 13, 2022
1 parent 989ce18 commit f8aee9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wiki/math-utils/circles-planes-rays-etc.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ A simple class defining a two-dimensional polygon from a list of points. It can

# [Rays](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Ray.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Ray.java)

A ray is a line segment infinite in one direction. It is defined by an origin and a unit-length direction. Rays can be tested for intersection with [bounding boxes] (https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/BoundingBox.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/BoundingBox.java), [planes](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Plane.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Plane.java), [spheres](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Sphere.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Sphere.java), and triangles by using the [Intersector](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Intersector.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Intersector.java) class.
A ray is a line segment infinite in one direction. It is defined by an origin and a unit-length direction. Rays can be tested for intersection with [bounding boxes](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/BoundingBox.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/BoundingBox.java), [planes](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Plane.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Plane.java), [spheres](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Sphere.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Sphere.java), and triangles by using the [Intersector](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Intersector.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Intersector.java) class.

Rays are particularly useful in picking operations. Cameras can provide a ray describing the current mouse or touch point in a window projected out into the scene from the point of view of the camera.

Expand All @@ -71,4 +71,4 @@ A simple class which describes a line segment in three-dimensional space defined

# [Spheres](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Sphere.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Sphere.java)

A simple class which describes a three-dimensional sphere defined by a center point and a radius. Can be tested for intersection with [Frustum](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Frustum.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Frustum.java) as well as [rays](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Ray.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Ray.java) by using the [Intersector](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Intersector.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Intersector.java) class.
A simple class which describes a three-dimensional sphere defined by a center point and a radius. Can be tested for intersection with [Frustum](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Frustum.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Frustum.java) as well as [rays](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/collision/Ray.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/collision/Ray.java) by using the [Intersector](https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/math/Intersector.html) [(code)](https://github.com/libgdx/libgdx/tree/master/gdx/src/com/badlogic/gdx/math/Intersector.java) class.

0 comments on commit f8aee9b

Please sign in to comment.