Initial release: RadiantWave v1.0
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package sdl
|
||||
|
||||
// Btoi returns 0 or 1 according to the value of b.
|
||||
func Btoi(b bool) int {
|
||||
if b == true {
|
||||
return 1
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user