Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
phase
v0.8.0
Phase
Arc
Asteroid
Beam
Box
Calc
Cannon
Circle
Enemy
EnemyCarrier
EnemyGroup
EnemyKamikaze
EnemyShip
EnemyStatic
Font
Game
HealthObj
HUD
Joysticks
Keys
Laser
Mouse
Pulse
Scene
Main
Start
Screen
Ship
ThrusterAnimationsTuple
Stage
StarBase
SuperWeapon
Timer
Built with Crystal 1.9.2
2023-10-08 13:50:48 UTC
class
Phase::Calc
Phase::Calc
Reference
Object
Defined in:
phase/calc.cr
Class Method Summary
.distance
(x, y, x2, y2)
.shortest_delta
(target_rotation, rotation)
Class Method Detail
def self.
distance
(x, y, x2, y2)
#
[
View source
]
def self.
shortest_delta
(target_rotation, rotation)
#
[
View source
]