Home › Forums › Games202-高质量实时渲染 › [作业4]Emu_MC.cpp中的squareToCosineHemisphere代码问题 This topic has 1 reply, 2 voices, and was last updated 2 years, 8 months ago by lav. Viewing 1 reply thread Author Posts 2022年1月5日 at 上午9:20 #10219 Score: 0 闪电的蓝熊猫Participant 代码实现中有这么一行: double phi = 2 * M_PI * sampley; 但是编译的时候无法找到M_PI的定义,请问这个M_PI是怎么来的? 我的编译环境是Win10+VS2019 2022年4月17日 at 下午10:30 #11311 Score: 0 lavParticipant Karma: -1 pt 这里很明显是要把M_PI换成PI Author Posts Viewing 1 reply thread You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In