littlekt
0.6.0
common
core
/
com.lehaine.littlekt.math.spatial
/
Triangle
Triangle
open
class
Triangle
(
val
pt0
:
Vec3f
,
val
pt1
:
Vec3f
,
val
pt2
:
Vec3f
)
Types
Constructors
Functions
Properties
Constructors
Triangle
Link copied to clipboard
fun
Triangle
(
data
:
MeshGeometry
,
idx0
:
Int
)
Triangle
Link copied to clipboard
fun
Triangle
(
pt0
:
Vec3f
,
pt1
:
Vec3f
,
pt2
:
Vec3f
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
hit
Distance
Link copied to clipboard
open
fun
hitDistance
(
ray
:
Ray
)
:
Float
Properties
e1
Link copied to clipboard
val
e1
:
Vec3f
e2
Link copied to clipboard
val
e2
:
Vec3f
max
X
Link copied to clipboard
val
maxX
:
Float
max
Y
Link copied to clipboard
val
maxY
:
Float
max
Z
Link copied to clipboard
val
maxZ
:
Float
min
X
Link copied to clipboard
val
minX
:
Float
min
Y
Link copied to clipboard
val
minY
:
Float
min
Z
Link copied to clipboard
val
minZ
:
Float
pt0
Link copied to clipboard
val
pt0
:
Vec3f
pt1
Link copied to clipboard
val
pt1
:
Vec3f
pt2
Link copied to clipboard
val
pt2
:
Vec3f