Former-commit-id: 3b70fef374ad5a39478a7f6b9766568a3590f691
Former-commit-id: ff4bb96d8923f9531cf7ff64cc3400f843ca6392
This commit is contained in:
Song Minjae
2016-11-02 23:02:46 +09:00
parent 88b6456f98
commit f8e2cb9e5d

View File

@@ -68,6 +68,9 @@ class StateTestingSandbox : BasicGameState() {
//g.drawLine(lightning_start, lightning_end)
//bolt.draw(g)
// TODO rotational transformmation for the points
// (newX, newY) = (x cos(theta) - y sin(theta), x sin(theta) + y cos(theta))
val ampY = 40f
val ampX = 3