首页 > 其他 > 详细

QuestionTomorrow

时间:2020-01-22 17:18:13      阅读:88      评论:0      收藏:0      [点我收藏+]

1) i can not compile the assignment sucessfully on mac

It is said the shader file is corrupted: The vertex and fragment files can not be opened 

and I think it might be related to cpuProgram.cpp file as there are some warnings

I can not figure out how to make it complie successfully

So i wonder if there is any way to modify the cpuProgram.cpp file so that it can run on mac

details:

can not change from string to pointer

and i found one solution for that

add ‘const‘ after char *, but after compile it again, it has new errors-> fread() function is not in stdio.h?!

and which type of data i can change so that i can assign the value to the var

i can only run demo1 succesfully QwQ

 

2) for a1 q2, is the destination related to x axis?

any hint to a3?

QuestionTomorrow

原文:https://www.cnblogs.com/programmingdrifter/p/12228778.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!