struct PF2d::Shape(T)

Overview

A shape is a clockwise winding of N points Vec(T)

Defined in:

pf2d/shape.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(points : Enumerable(PF2d::Vec2(T))) #

[View source]

Instance Method Detail

def points : Enumerable(Vec2(T)) #

[View source]
def points=(points : Enumerable(Vec2(T))) #

[View source]