Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
TerrainDisplay
Collision
_3D
AABB
Intersects
TerrainDisplay.Collision._3D.AABB.Intersects C# (CSharp) Method
AABB Class Documentation
Datei anzeigen
Open project: WCell/WCell-Terrain
Intersects()
public
static
method
Checks if a Ray intersects an AABB.
public
static
Intersects
(
AABB
box
,
Ray
ray
) :
bool
box
AABB
The AABB in question.
ray
Ray
The Ray in question.
return
bool
public static bool Intersects(AABB box, Ray ray) { return box.Bounds.Intersects(ray) != null; }
Same methods
AABB::
Intersects
(
AABB
box1
,
AABB
box2
) :
bool
AABB
AABB
Intersects