OpenGL: 一个轻型库:geometry template library

来源:互联网 发布:sql server 小计 合计 编辑:程序博客网 时间:2024/05/01 14:07

最近在google code 上面看了很多3d方面的优秀的库,以及一些游戏引擎, 学习到了很多东西,当然了要归功于开源,再一次被开源的魅力所感动。

这里我想和大家分享一个小型的3D库,名字简称也叫GTL: Geometry Template Library。说到GTL一般人都会想到graphy template library ...

这个库所有类列表:

file  box2.hpp   二维包围盒file  box3.hpp  三维包围体file  circle.hpp  圆file  complex.hpp 复数file  gtl.hpp  file  matrix3.hpp 3×3旋转矩阵file  matrix4.hpp  4×4齐次矩阵file  plane.hpp  平面file  quat.hpp   四元数file  ray.hpp   射线file  sphere.hpp  包围球体 file  vec2.hpp file  vec3.hpp  向量file  vec4.hppfile  xfbox3.hpp  立方体 

所有的模板类都是在gtl名字空间中。

基于这个轻型库,可以很容易进行二次开发,可以添加自己的东西,构建自己的库。

链接地址:http://code.google.com/p/geometry/

库下载地址:http://code.google.com/p/geometry/downloads/list

 

http://blog.csdn.net/ryfdizuo/article/details/2491400

0 0
原创粉丝点击