class Shale::Edge

Defined in:

shale/edge.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(min : Vertex, max : Vertex, gradient : Gradient, min_y_index : Int) #

[View source]

Instance Method Detail

def one_over_z : Float32 #

[View source]
def one_over_z_step : Float32 #

[View source]
def step : self #

[View source]
def tex_coords_x : Float32 #

[View source]
def tex_coords_x_step : Float32 #

[View source]
def tex_coords_y : Float32 #

[View source]
def tex_coords_y_step : Float32 #

[View source]
def x : Float32 #

getter colour : Vector4(Float32)


[View source]
def y_end : UInt32 #

[View source]
def y_start : UInt32 #

[View source]