Class: Triangle

zen3d.Triangle(a=opt, b=opt, c=opt)

new Triangle(a=opt, b=opt, c=opt)

Parameters:
Name Type Attributes Description
a= zen3d.Vector3 <optional>
b= zen3d.Vector3 <optional>
c= zen3d.Vector3 <optional>
Source:

Methods

(static) barycoordFromPoint()

static/instance method to calculate barycentric coordinates. based on: http://www.blackpawn.com/texts/pointinpoly/default.html
Source:

(static) containsPoint()

Source:

(static) normal()

Source:

set()

Source: