struct Vector2
- Vector2
- Struct
- Value
- Object
Included Modules
- YAML::Serializable
Defined in:
engine/aabb.crengine/vector2.cr
Constructors
Class Method Summary
Instance Method Summary
- #*(scale : Number)
- #+(other)
- #-(other)
- #-
- #/(scale)
- #//(other)
- #abs
- #angle
- #clone
- #close(other, eps = 1.0)
- #copy_with(x _x = @x, y _y = @y)
- #cross(other)
- #dot(other)
- #inside?(aabb)
- #inspect(io)
- #length
- #normalize
- #rotate(angle)
- #sqrlength
- #to_i
- #x : Float64
- #y : Float64