Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 关于作业2,请问getcolor函数在哪里? This topic has 2 replies, 2 voices, and was last updated 4 years, 8 months ago by DirtyCandy. Viewing 1 reply thread Author Posts 2020年3月6日 at 下午5:42 #3414 Score: 0 DirtyCandyParticipant 有两个问题没太看懂,一是维护depth_buff时点(x,y)的对应的depth_buff中的索引应当用get_index()获得么? 二是代码注释中提示use getcolor function来设置对应像素点的颜色,我并没有找到getcolor函数,请问是需要自己实现么? 2020年3月6日 at 下午5:44 #3415 Score: 1 AngusParticipant Karma: 23 pts 在Triangle的头文件中 This post has received 1 vote up. 2020年3月6日 at 下午5:47 #3416 Score: 0 DirtyCandyParticipant 谢谢,是我傻了 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