class Tile::Rasterizer::Distortion
- Tile::Rasterizer::Distortion
- Reference
- Object
Defined in:
tile/rasterizer/distortion.crConstructors
Instance Method Summary
- #configure(&)
-
#distort(line)
Distort an incoming vector at a given line
-
#distortion_points : Array(Int32 | -> Int32)
Distortions are a paired table of indexes to procs
-
#frame
Get the number of elapsed frames
-
#line
Get the number of lines already drawn
- #procs : Array(SF::Vector2(Int32) -> SF::Vector2(Float64) | SF::Vector2(Int32))
Constructor Detail
Instance Method Detail
def distortion_points : Array(Int32 | -> Int32)
#
Distortions are a paired table of indexes to procs