資源簡介
一份C++實現的光線追蹤程序,利用GLFW框架實現,實現了簡單的球體和光線的相交模型
代碼片段和文件信息
//?[header]
//?A?very?basic?raytracer?example.
//?[/header]
//?This?program?is?free?software:?you?can?redistribute?it?and/or?modify
//?it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
//?the?Free?Software?Foundation?either?version?3?of?the?License?or
//?(at?your?option)?any?later?version.
//
//?This?program?is?distributed?in?the?hope?that?it?will?be?useful
//?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
//?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
//?GNU?General?Public?License?for?more?details.
//
//?You?should?have?received?a?copy?of?the?GNU?General?Public?License
//?along?with?this?program.??If?not?see? .
#include?
#include?
#include?
#include?
- 上一篇:網絡編程實用教程程序源代碼.zip
- 下一篇:VS2012+MFC+串口通信的實現.
評論
共有 條評論