mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 10:04:05 +09:00
todo
Former-commit-id: 3b70fef374ad5a39478a7f6b9766568a3590f691 Former-commit-id: ff4bb96d8923f9531cf7ff64cc3400f843ca6392
This commit is contained in:
@@ -68,6 +68,9 @@ class StateTestingSandbox : BasicGameState() {
|
|||||||
//g.drawLine(lightning_start, lightning_end)
|
//g.drawLine(lightning_start, lightning_end)
|
||||||
//bolt.draw(g)
|
//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 ampY = 40f
|
||||||
val ampX = 3
|
val ampX = 3
|
||||||
|
|||||||
Reference in New Issue
Block a user