building destruction particles
This commit is contained in:
parent
dba09165e8
commit
afc0aab441
127 changed files with 27285 additions and 240 deletions
10
addons/voronoishatter/voronoi/model/voronoicell.gd
Normal file
10
addons/voronoishatter/voronoi/model/voronoicell.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
## Represents a voronoi "cell," a collection of vertices (Vector3) that are associated with a sample site
|
||||
extends Object
|
||||
|
||||
class_name VoronoiCell
|
||||
|
||||
var vertices: Array[Vector3] = []
|
||||
var site: Vector3
|
||||
|
||||
func is_valid() -> bool:
|
||||
return len(vertices) >= 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue