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
constructors
this
functions
_cPtr
containsPoint
equal
getArea
getBarycoords
getBoundingBox
getMidpoint
getNormal
getPlane
getPoints
getUv
getVertices
initFromFloat
initFromPoint3d
initFromVec3
self
properties
_gType
static functions
_getGType
alloc
Computes the normal vector of the given #graphene_triangle_t.