struct

Vector

Inherits Struct < Value < Object

Constructors

new(x : Float32, y : Float32, z : Float32)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat)
Source

Instance methods

to_io(io : IO, format : IO::ByteFormat)
Source
to_s(io : IO)

Same as #inspect(io).

Source
x=(x : Float32)
Source
y=(y : Float32)
Source
z=(z : Float32)
Source