Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个:
float xExponential = pow(xPingPong, 5);
并且不工作,声称:
错误:0:53:调用函数“pow”没有匹配的重载
我做错什么了吗?使用 OpenGL ES 2.0 为 iOS 开发。
你能试试这个吗?
float xExponential = pow(xPingPong, 5.0);
您的代码很好,只是语法错误
写入十进制数
或者
float xExponential = pow(xPingPong, 5.);