예제 #1
0
 def handle_add_padding_command(self, params):
     if params:
         value = LittleHelpers.convert_str_to_float(params)
         if value != None:
             self.cube.geometry.add_padding(value)
예제 #2
0
 def handle_add_scale_command(self, params):
     if params:
         value = LittleHelpers.convert_str_to_float(params)
         if value != None:
             self.cube.add_scale(value * self.delta_time.elapsed())