Devination / VerletKha

A simple 2D Verlet physics engine written in Haxe and Kha. Port of verlet-js.
http://www.devination.com/p/verletkha.html
MIT License
41 stars 4 forks source link

[BUG] current release brings drawCircle error #7

Closed lewislepton closed 8 years ago

lewislepton commented 8 years ago

really weird error i run into lately with recent update

/usr/local/lib/haxe/lib/verlet/git/Sources/verlet/Renderer.hx:47: characters 3-22 : kha.graphics2.Graphics has no field drawCircle

even from using code that had worked before

estivate commented 8 years ago

adding this line at the top of Renderer.hx fixes the error:

using kha.graphics2.GraphicsExtension;

Devination commented 8 years ago

Sorry about that, I must have removed it while I was working with the noDragger define. Should be fixed with latest now.