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

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

于 2023-01-23 发布 文件大小:3.11 kB
0 204
下载积分: 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 个回复

  • OpenGL high
    OpenGL高级编程与可视化系统开发(高级编程篇)的随书源码-4,学习OpenGL的好东西-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL -OpenGL high-level programming and visualization systems development (high-level programming chapter)-4 of the source with the book, learning OpenGL good things-OpenGL Programming and Advanced Visualization System (Advanced Programming Part 1) the source-4 with books, learning the good stuff OpenGL
    2022-03-23 02:00:27下载
    积分:1
  • This source code is for OpenGL&Visual C++6.0
    This source code is for OpenGL&Visual C++6.0-This source code is for OpenGL
    2022-01-24 16:08:02下载
    积分:1
  • 因为,我们年轻,所以我们有的是创新 有的是个性 有的是自信!!! 但是,我们也要有过硬的技术做后盾所以我们要脚踏实地的学习...
    因为,我们年轻,所以我们有的是创新 有的是个性 有的是自信!!! 但是,我们也要有过硬的技术做后盾所以我们要脚踏实地的学习-Because we young, so we have some innovation and some are self-confident personality!!! However, we must have strong technical backing to do so we have to learn down-to-earth
    2023-05-30 13:10:04下载
    积分:1
  • nehe
    nehe-opengl(16-20)
    2022-10-19 17:05:03下载
    积分:1
  • 多边形和圆的动画
    1。图的边在视口的radius5宽度= 200高度= 200。最初的左侧和底部是50和50 theviewport。屏幕的宽度和高度分别为640和480。的两侧,将3边形initialnumber。在画边设置colorsaccording t值:A.布莱克:T>[ 0,0.25)B.红色:T>[ 0.25,0.5)C.绿色:T>[ 0.5,0.75)D.蓝色:T>[ 0.75,1 ]允许用户移动视口上,下,左、右使用键W,S,A和D。每个键将viewportby 10像素。如果用户按下鼠标右键然后得出n-gonusing gl_points和动画面数从3到32和从3回到32to。
    2022-06-28 21:19:37下载
    积分:1
  • wrl浏览器,可以看到wrl数据格式,直接点击安装即可使用
    wrl浏览器,可以看到wrl数据格式,直接点击安装即可使用-the viewer of wrl
    2022-02-07 11:14:27下载
    积分:1
  • OpenGL 3
    OpenGL三维图形系统开发与实例-OpenGL 3-D graphics system development and examples
    2022-03-19 03:45:23下载
    积分:1
  • 在VC++中,openGL帮助文件,是个很好的文件,值得大家都来从中受到帮助。...
    在VC++中,openGL帮助文件,是个很好的文件,值得大家都来从中受到帮助。-In VC++ In, openGL Help file, it is a very good document, it is worth everyone to learn by helping.
    2022-03-29 02:59:33下载
    积分:1
  • This is NeHe OpenGL Tourial source code from lesson 21 to 30 with many comment!
    著名的Nehe的OpenGL教程VC++配套源码21-30课,适合OpenGL初学者使用,作者在他的程序中已详加注释-This is NeHe OpenGL Tourial source code from lesson 21 to 30 with many comment!
    2022-07-22 15:54:04下载
    积分:1
  • with OpenGL painting an apple trees ~ ~ can be used when operating
    用OpenGL画的一个苹果树林~~可当作业用-with OpenGL painting an apple trees ~ ~ can be used when operating
    2022-12-09 16:40:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载