-
作者: junglesong
这是我过去进行一个OpenGL项目时使用到的"三维空间向量/点"类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移...
作者: 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
- 2023-01-23 15:20:04下载
- 积分:1
-
这是一个利用vc与opengl开发的旋转,爆炸,材质的程序。
这是一个利用vc与opengl开发的旋转,爆炸,材质的程序。-use vc with opengl development of the rotation, explosion, materials procedures.
- 2023-05-15 10:15:03下载
- 积分:1
-
/ *画圆的半径为9,8和7所示的颜色(0,0)
/* Draw circles of radius 9, 8 and 7 with the colours shown around (0,0)
Draw the x and y axis
Draw the diagonal line
Draw the 12 by 6 quad around (0,0)
When the left mouse button is pressed the diagonal line moves as shown.
When the right button is pressed the diagonal line is reset to its
original position
The right button also toggles the direction from + to - x
Pressing Esc exits the program
*/-/* Draw circles of radius 9, 8 and 7 with the colours shown around (0,0)
Draw the x and y axis
Draw the diagonal line
Draw the 12 by 6 quad around (0,0)
When the left mouse button is pressed the diagonal line moves as shown.
When the right button is pressed the diagonal line is reset to its
original position
The right button also toggles the direction from+ to- x
Pressing Esc exits the program
*/
- 2022-05-20 09:28:51下载
- 积分:1
-
学习如何做一个很好的飞机和飞行模拟的开源程序…
一个非常好的学习制作飞机飞行模拟的开源程序 学习opengl就要多看别人的源码及其效果,大家一起加油!-Learn how to make a very good aircraft and flight simulation of the open source learning opengl will be more than watch other people
- 2022-07-22 00:50:06下载
- 积分:1
-
DICOM医学图像数据的读取
本程序主要实现了OpenGL技术读取DICOM医学图像并且三维显示能够从多个维度显示,能够读入以.dcm为扩展名的医学图像。-The application reads the DICOM medical image mainly realized the OpenGL technology and 3 d display can from multiple dimensions, able to read with. DCM is extension of medical images
- 2022-01-21 04:51:33下载
- 积分:1
-
VC(opengl)显示一个茶壶,可以随鼠标移动而移动
VC(opengl)显示一个茶壶,可以随鼠标移动而移动-VC (opengl) shows a teapot, which can be mobile and mobile mouse
- 2022-03-20 06:54:20下载
- 积分:1
-
本源码是为实现对象的旋转而专门编写的一个小程序,对初学vc者有很大的帮助!...
本源码是为实现对象的旋转而专门编写的一个小程序,对初学vc者有很大的帮助!-the source object is to achieve the rotation specially prepared in a small program for beginners vc are of great help!
- 2022-02-06 21:11:12下载
- 积分:1
-
opengl show window and Cube collision
opengl显示窗口与立方体的碰撞-opengl show window and Cube collision
- 2022-03-16 00:58:40下载
- 积分:1
-
将三维变换立方体变形为球
将立方体转化为球。使用opengl库创建的程序。在Visual Studio 2013上正确运行。
- 2022-03-21 02:01:21下载
- 积分:1
-
一个opengl的例子!!可以帮助你更详细的了解opengl
一个opengl的例子!!可以帮助你更详细的了解opengl-an opengl example! ! I can help you more detailed understanding opengl!
- 2022-02-20 06:29:18下载
- 积分:1