Merge pull request #190 from Alireza-Ta/fix-type-conversion
fixed GetTime return type.
This commit is contained in:
commit
98220fa4f1
1 changed files with 2 additions and 2 deletions
|
@ -445,9 +445,9 @@ func GetFrameTime() float32 {
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTime - Return time in seconds
|
// GetTime - Return time in seconds
|
||||||
func GetTime() float32 {
|
func GetTime() float64 {
|
||||||
ret := C.GetTime()
|
ret := C.GetTime()
|
||||||
v := (float32)(ret)
|
v := (float64)(ret)
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue