Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Core/cr_vector.cpp File Reference
#include <cmath>
#include <xmmintrin.h>
#include "cr_vector.h"

Namespaces

namespace  darc
namespace  darc::core

Functions

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)
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.