Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
game
v0.3.10
Game
Camera
Mode
Type
Circle
Color
Ellipse
Entity
EquilateralTriangle
Font
Game
Image
Key
Keys
Line
Matrix
Mesh
Model
Mouse
MouseButton
Pixel
Polygon
Rectangle
Ring
RoundedRectangle
Shape
ShapeEntity
Sound
Sprite
SpriteData
SpriteDataAny
SpriteDataFull
SpriteDataNoFPS
SpriteDataNoFPSNoLoopsNoStartEndFrames
SpriteDataNoFPSNoStartEndFrames
SpriteDataNoLoops
SpriteDataNoLoopsNoStartEndFrames
SpriteDataNoStartEndFrames
SpriteEntity
Square
Text
TextInput
Texture
Time
Triangle
Utils
Vector
Vector3
Vector4
Generated using Crystal 1.14.0
2024-11-26 10:45:02 UTC
abstract class
Game::
Utils
Game::Utils
Reference
Object
Defined in:
game/utils.cr
Class Method Summary
.expand_path
(path)
.to_degrees
(radians : Int32 | Float32)
.to_radians
(degrees : Int32 | Float32)
Class Method Detail
def self.
expand_path
(path)
#
[
View source
]
def self.
to_degrees
(radians : Int32 | Float32)
#
[
View source
]
def self.
to_radians
(degrees : Int32 | Float32)
#
[
View source
]