QuestionTomorrow

时间:2020-01-22 17:18:13   收藏:0   阅读:93

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?

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!