Made ObjectPool calculator instance public

master
0x1a8510f2 2 years ago
parent 845125f591
commit 9ec29bb029
Signed by: 0x1a8510f2
GPG Key ID: F5DE8E33A2723FF6
  1. 2
      brain/physicsEngine/objectPool.go

@ -5,7 +5,7 @@ import "sync"
type ObjectPool struct {
mutex sync.Mutex
objects []Object
calc Calculator
Calc Calculator
}
func (op *ObjectPool) AsSlice() []Object {

Loading…
Cancel
Save