Methods
update(vertices)
Updates the bounds based on an array vertices
Parameters:
Name | Type | Description |
---|---|---|
vertices | Array | Array of vertices |
- Source
randomPoint() → {vec}
Creates a random point within the bounds
- Source
Returns:
Random point within bounds
- Type:
- vec