The timer is also reset at this point, so the new multiplying factor is set to be doubled after five seconds, and so on.
计时器这时也重置,所以新的乘数也在 5 秒之后被设置成加倍数值,如此类推。
This makes the device suspend itself and send the current value of the multiplying factor to the controller over a second channel.
这使设备中止自身,并把乘数的当前值通过第二个通道发送给控制器。
Timer is an instance of CSTimer, which is set to trigger every five seconds, at which time the device will double the current value of the multiplying factor.
timer是CSTimer的实例,它被设置成每5秒触发一次,每次触发时,设备会把乘数的当前值加倍。
So multiplying a vector by a number means stretch it by that factor.
所以用数字乘以矢量,就相当于将它伸长了相应的倍数
应用推荐