Typo
This commit is contained in:
parent
3d615555e0
commit
af6e457322
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ func (b *Body) Shatter(position raylib.Vector2, force float32) {
|
||||||
p1 := newBody.Shape.VertexData.Vertices[j]
|
p1 := newBody.Shape.VertexData.Vertices[j]
|
||||||
nextVertex := 0
|
nextVertex := 0
|
||||||
if j+1 < newBody.Shape.VertexData.VertexCount {
|
if j+1 < newBody.Shape.VertexData.VertexCount {
|
||||||
nextIndex = j + 1
|
nextVertex = j + 1
|
||||||
}
|
}
|
||||||
p2 := newBody.Shape.VertexData.Vertices[nextVertex]
|
p2 := newBody.Shape.VertexData.Vertices[nextVertex]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue