Documentation
Dlang.org
Triangle.getNormal
graphene
triangle
Triangle
Computes the normal vector of the given #graphene_triangle_t.
class
Triangle
void
getNormal
(
out
graphene.vec3.Vec3
res
)
Parameters
res
graphene
.
vec3
.
Vec3
return location for the normal vector
graphene
triangle
Triangle
functions
containsPoint
equal
getArea
getBarycoords
getBoundingBox
getMidpoint
getNormal
getPlane
getPoints
getUv
getVertices
initFromFloat
initFromPoint3d
initFromVec3
static functions
alloc
Computes the normal vector of the given #graphene_triangle_t.