Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Mittsu::Vector2
Inherits
Mittsu::Vector
<
Reference
<
Object
Constructors
new
(x = 0, y = 0)
Source
Instance methods
distance_to_squared
(v)
Source
dot
(v)
Source
from_attribute
(attribute, index, offset = 0)
Source
set
(x, y)
Source
x
Source
x=
(value)
Source
y
Source
y=
(value)
Source