登录
首页 » OpenGL图像 » 作者: junglesong 这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移...

作者: junglesong 这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移...

于 2023-01-23 发布 文件大小:3.11 kB
0 44
下载积分: 2 下载次数: 1

代码说明:

作者: junglesong 这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移,缩放和旋转等,使用相关函数还可以实现两向量的叉乘,得到一个向量的绝对长度,将一个向量单位化,得到一个三点决定的平面的垂直向量(经过单位化),得到空间中两点的距离,得到两向量的点积,得到两向量的夹角等操作,为方便用户的使用,每个函数都有详细的注释,特别重要的向量计算如点积,叉乘还有相关说明,希望对大家有所用处. 由于源程序涉及到保密问题不能和盘托出,请见谅. junglesong@etang.com-Author : junglesong This is my last OpenGL for a project to use the "three-dimensional vector space/point "and related functions, they can use a definition of space vector/points, for the vector translation, zooming and rotation, using correlation function can also achieve two fork by Vector, a vector to be the absolute length of a vector unit, 3:00 been a decision of the vertical plane of Vector (those units), a space to be the distance between two points, Vector to be the two plot points, to be the angle between two vectors such operations, as a user-use, Each function has detailed notes, a particularly important point if the calculation vector plot, fork also took note, we hope to have use

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104027会员总数
  • 45今日下载