Darc Library
2012.11
|
#include <iostream>
#include <cmath>
#include <cstdarg>
#include "dc_main.h"
#include "cr_main.h"
#include "cr_matrix.h"
Classes | |
class | darc::core::Vector< T, M > |
class | darc::core::Vector3D_T< T > |
class | darc::core::Vector2D_T< T > |
Namespaces | |
namespace | darc |
namespace | darc::core |
Typedefs | |
typedef Vector< Real, 4 > | darc::core::Vector4D |
typedef Vector< Real, 6 > | darc::core::Vector6D |
typedef Vector3D_T< Real > | darc::core::Vector3D |
typedef Vector3D_T< UInt > | darc::core::Vector3DUI |
typedef Vector2D_T< Real > | darc::core::CR_Vector2D |
typedef Vector2D_T< UInt > | darc::core::VectorUI2D |
typedef Vector2D_T< Int > | darc::core::VectorI2D |
Functions | |
template<typename T , int M> | |
const Real | darc::core::operator* (const Vector< T, M > &_v0, const Vector< T, M > &_v1) |
Operator "Dot product". | |
template<typename T , int M> | |
Vector< T, M > | darc::core::operator- (const Vector< T, M > &_v0, const Vector< T, M > &_v1) |
Operator "Vector subtraction". | |
template<> | |
const BaseMatrix< Matrix < float, 4, 1 > > | darc::core::operator* (const BaseMatrix< Matrix< float, 4, 1 > > &_v, const float &_s) |
Operator "Scalar multiplication (right)" for 4-dimensional vectors using SIMD. | |
CR_API void | darc::core::Vector3D_Cross (const Vector3D &_v0, const Vector3D &_v1, Vector3D &_vOut) |
CR_API float | darc::core::Vector3D_Angle (const Vector3D &_v0, const Vector3D &_v1) |