Sha256: 5930e54e0a5bac74a7712dec4b5817396bf26fc76351288a765c335c8d4b89c5
Contents?: true
Size: 532 Bytes
Versions: 10
Compression:
Stored size: 532 Bytes
Contents
require_relative './element_factory' module GridGenerator module DinoCube class RightElementFactory < ElementFactory def anchors @anchors ||= { top_left_corner: Matrix.column_vector([0, 0.5*units]), top_right_corner: Matrix.column_vector([units, 0]), bottom_left_corner: Matrix.column_vector([0, 1.5*units]), bottom_right_corner: Matrix.column_vector([units, units]), center: Matrix.column_vector([0.5*units, 0.75*units]) } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems