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)
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())