Wes Mantooth - HTML5 Canvas Game Engine - Version 2.x - by Jeremy Heminger

Classes organised alphabetically

Threed

makeA3DPoint -> {Object}

create an object of x,y,z points

Name Type Description
x Number
y Number
z Number

convertPointIn3DToPointIn2D -> {Object}

convert a point in 3D space to a 2D representation

Name Type Description
pointIn3D Object x, y, z
focalLength Number

cP3dto2d -> {Array}

convert a point in 3D space to a 2D representation

Name Type Description
pointIn3D Object x, y, z
camera Object