Class: Budgie::DrawPickerCube

Inherits:
DrawCube
  • Object
show all
Defined in:
lib/budgie/draw_picker_cube.rb

Instance Method Summary collapse

Methods inherited from DrawCube

#draw, #full

Instance Method Details

#backObject



9
10
11
12
# File 'lib/budgie/draw_picker_cube.rb', line 9

def back
  glColor3ub 2, 2, 1
  super
end

#bottomObject



19
20
21
22
# File 'lib/budgie/draw_picker_cube.rb', line 19

def bottom
  glColor3ub 2, 1, 2
  super
end

#frontObject



4
5
6
7
# File 'lib/budgie/draw_picker_cube.rb', line 4

def front
  glColor3ub 2, 2, 3
  super
end

#leftObject



29
30
31
32
# File 'lib/budgie/draw_picker_cube.rb', line 29

def left
  glColor3ub 1, 2, 2
  super
end

#rightObject



24
25
26
27
# File 'lib/budgie/draw_picker_cube.rb', line 24

def right
  glColor3ub 3, 2, 2
  super
end

#topObject



14
15
16
17
# File 'lib/budgie/draw_picker_cube.rb', line 14

def top
  glColor3ub 2, 3, 2
  super
end