struct Shale::Gradient

Defined in:

shale/gradient.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(min : Vertex, mid : Vertex, max : Vertex) #

[View source]

Instance Method Detail

def one_over_z : StaticArray(Float32, 3) #

getter colour_xstep : Vector4(Float32) getter colour_ystep : Vector4(Float32) getter colours : StaticArray(Vector4(Float32), 3)


[View source]
def one_over_zx_step : Float32 #

[View source]
def one_over_zy_step : Float32 #

[View source]
def tex_coords_x : StaticArray(Float32, 3) #

[View source]
def tex_coords_xx_step : Float32 #

[View source]
def tex_coords_xy_step : Float32 #

[View source]
def tex_coords_y : StaticArray(Float32, 3) #

[View source]
def tex_coords_yx_step : Float32 #

[View source]
def tex_coords_yy_step : Float32 #

[View source]