class

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)
Source

Instance methods

to_s(io)
Source
x=(x : Float64)
Source
y=(y : Float64)
Source