fails because you can't implicitly cast int to float. • Use constructors for explicit type casts: vec3 foo = vec3(1.0, 2.0, 3.0); vec2 ...
確定! 回上一頁