CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - multiply
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - multiply - List
[
3D Graphic
]
3DDraw
DL : 0
这是一个项目时使用到的“三维空间向量/点”类及相关函数,使用它们可以定义一个空间向量/点,实现向量的平移,缩放和旋转等,使用相关函数还可以实现两向量的叉乘,得到一个向量的绝对长度,将一个向量单位化,得到一个三点决定的平面的垂直向量(经过单位化),得到空间中两点的距离,得到两向量的点积,得到两向量的夹角等操作,为方便用户的使用,每个函数都有详细的注释,希望对大家有所用处. -This is a project to use to the " three-dimensional space vector/point" category and related functions, use them to define a space vector/point to achieve the translation vector, scaling and rotation, etc. can also be achieved using the correlation function of two vectors fork multiply, get a vector of the absolute length of a vector unit, get a three-point decision to the vertical plane of the vector (after unit-based), get the distance between two points in space, to be two vector dot product, to be two vector angle and other operations, the use of user-friendly, each function has a detailed comment, hope you all have a use.
Date
: 2025-12-28
Size
: 6.95mb
User
:
arechi
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.