Class: Geometry

Geometry(vertices)

new Geometry(vertices)

Parameters:
Name Type Description
vertices Array.<Vector2>
Source:

Members

CHAOS_OBJ_TYPE :string

Type:
  • string
Source:

CHOAS_CLASSNAME :string

Type:
  • string
Source:

_dynNormals :Array.<Vector2>

Type:
Source:

normals :Array.<Vector2>

Type:
Source:

vertices :Array.<Vector2>

Type:
Source:

Methods

getNormals(rad, target)

Parameters:
Name Type Description
rad number
target Array.<Vector2>
Source:

transform(n, vertices, pos)

Parameters:
Name Type Description
n number
vertices Array.<Vector2>
pos Vector2
Source: