Example #1
0
func (t *Timer) GetSpeed() float64 {
	var f float64

	f = float64(C.al_get_timer_speed((*C.ALLEGRO_TIMER)(t)))

	return f
}
Example #2
0
File: al.go Project: beoran/algo
// Gets the speed of the timer.
func (self *Timer) GetSpeed() float64 {
	return float64(C.al_get_timer_speed(self.handle))
}
Example #3
0
func (t *Timer) GetSpeed() float64 {
	return float64(C.al_get_timer_speed((*C.ALLEGRO_TIMER)(unsafe.Pointer(t))))
}