Location:
Search - CVector3d
Search list
Description: 本源码创建了一个三维空间的向量类,包括空间向量的点积,叉积,单位化,以及一些常见的操作。很有适用性,特别是对于3D编程大大、,
Platform: |
Size: 2965 |
Author: koilin |
Hits:
Description: 实现“向量”的运算符重载 (3维数)
向量的维数可自定义,实现的运算有以下:相加、 相减、点积、自增、自减
以上运算不只能是现在向量与向量之间的运算,同时也可以与常数的运算。-Achieve the " vector" operator overloading (three dimensional) vector dimension can be customized to achieve the operation are the following: addition, subtraction, dot product, since the increase, since by the above operation is now not only vector and vector of between the computing, but also with constant computing.
Platform: |
Size: 2048 |
Author: |
Hits:
Description: 一个3D矢量类CVector3D,含三种构造函数,并有拷贝,点积,叉积,求模,单位化
等操作,并实现”+ - = == += -= * [ ]” 等运算符的重载。(用C++实现) -A 3D vector class CVector3D, with three constructors, and copy, dot product, cross product, the modular unit of the other operations, and to achieve " + - = == + = -= * [] " such as operator overloading. (Using C++ implementation)
Platform: |
Size: 729088 |
Author: 虫儿 |
Hits: