Esempio n. 1
0
func norm(a, b float32) (float32, float32) {
	vec := glm.Vector2{a, b}
	vec = vec.Nor()
	return vec.X, vec.Y
}