Sha256: f726de70e20a5e09776d7937bb699399730e3b76433de814837f2fcb8a9d696e
Contents?: true
Size: 588 Bytes
Versions: 11
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true module Glitch3d module Default def alter_vertices(vertices_objects_array) (VERTEX_GLITCH_ITERATION_RATIO * vertices_objects_array.size).to_i.times do |_| random_element(vertices_objects_array).fuck end vertices_objects_array end def alter_faces(faces_objects_array, vertex_objects_array) # (FACE_GLITCH_ITERATION_RATIO * faces_objects_array.count).to_i.times do |_| # random_element(faces_objects_array).fuck(random_element(vertex_objects_array)) # end faces_objects_array end end end
Version data entries
11 entries across 11 versions & 1 rubygems