Triangle

open class Triangle(val pt0: Vec3f, val pt1: Vec3f, val pt2: Vec3f)

Constructors

Link copied to clipboard
fun Triangle(data: MeshGeometry, idx0: Int)
Link copied to clipboard
fun Triangle(pt0: Vec3f, pt1: Vec3f, pt2: Vec3f)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun hitDistance(ray: Ray): Float

Properties

Link copied to clipboard
val e1: Vec3f
Link copied to clipboard
val e2: Vec3f
Link copied to clipboard
val maxX: Float
Link copied to clipboard
val maxY: Float
Link copied to clipboard
val maxZ: Float
Link copied to clipboard
val minX: Float
Link copied to clipboard
val minY: Float
Link copied to clipboard
val minZ: Float
Link copied to clipboard
val pt0: Vec3f
Link copied to clipboard
val pt1: Vec3f
Link copied to clipboard
val pt2: Vec3f