资源简介
一份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+串口通信的实现.
评论
共有 条评论