Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
renworld
master
Top Level Namespace
Noise2DContext
RenWorld
Biom
BiomEnum
Map
Vec2
Built with Crystal 1.9.2
2023-10-07 20:08:05 UTC
struct
Vec2
Vec2
Struct
Value
Object
Defined in:
lib/noise.cr
Constructors
.new
(x : Float64, y : Float64)
Instance Method Summary
#clone
#copy_with
(x _x = @x, y _y = @y)
#x
: Float64
#y
: Float64
Constructor Detail
def self.
new
(x : Float64, y : Float64)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(x _x = @x, y _y = @y)
#
[
View source
]
def
x
: Float64
#
def
y
: Float64
#