Method: VoxelammingGem::BuildBox#clear_data

Defined in:
lib/voxelamming_gem.rb

#clear_dataObject



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/voxelamming_gem.rb', line 47

def clear_data
  @translation = [0, 0, 0, 0, 0, 0]
  @is_allowed_matrix = 0
  @saved_matrices = []
  @translation = [0, 0, 0, 0, 0, 0]
  @matrix_translation = [0, 0, 0, 0, 0, 0]
  @frame_translations = []
  @global_animation = [0, 0, 0, 0, 0, 0, 1, 0]
  @animation = [0, 0, 0, 0, 0, 0, 1, 0]
  @boxes = []
  @frames = []
  @sentence = []
  @lights = []
  @commands = []
  @size = 1
  @shape = 'box'
  @is_metallic = 0
  @roughness = 0.5
  @is_allowed_float = 0
  @build_interval = 0.01
  @is_framing = false
  @frame_id = 0
end