QuestionTomorrow

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 q3?

来自高维的仁慈是否还在,让我拭目以待。

posted @ 2020-01-22 16:00  溪边老圃  阅读(115)  评论(0)    收藏  举报