CanvasMap
Getting Started Tutorials 3D Reference

Class CM3Utilities

CM3Utilities Class

Utilities to help with 3D rendering


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Static Functions

ReturnsFunctionThrows
GetRegularPolygonShape()
GetTHREEColor()
GetArcArrayInRadians()

Static Functions

GetRegularPolygonShape()

Returns a THREE.Shape object that contains a regular polyugon

GetTHREEColor()



GetArcArrayInRadians()

Creates an array of THREE.Vector3 coordinates that form a smooth arc