Celestine::FPoint
Inherits Reference / Object
Constants
OPERATIONS = [:+, :-, :/, :*]
ZERO = Celestine::FPoint.new(0.0, 0.0)
Constructors
new(x : Float64 | Float32 | Int32, y : Float64 | Float32 | Int32)
SourceInstance methods
*(other : Celestine::FPoint)
Source+(other : Celestine::FPoint)
Source-(other : Celestine::FPoint)
Source/(other : Celestine::FPoint)
Sourceto_s(io)
Sourcex=(x : Float64)
Sourcey=(y : Float64)
Source