class Perlin::Random
Public Class Methods
new(*seed)
click to toggle source
# File lib/perlin/gradient_table.rb, line 6 def initialize(*seed) # FIXME: Sets the global seed value; this is misleading srand *seed end
Public Instance Methods
rand(*interval)
click to toggle source
# File lib/perlin/gradient_table.rb, line 11 def rand(*interval) Kernel.rand(*interval) end