GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
vector_d.h File Reference
#include <inttypes.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <limits>
#include "draco/core/macros.h"
Include dependency graph for vector_d.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  draco::VectorD< ScalarT, dimension_t >

Namespaces

namespace  draco

Typedefs

typedef VectorD< float, 2 > draco::Vector2f
typedef VectorD< float, 3 > draco::Vector3f
typedef VectorD< float, 4 > draco::Vector4f
typedef VectorD< float, 5 > draco::Vector5f
typedef VectorD< float, 6 > draco::Vector6f
typedef VectorD< float, 7 > draco::Vector7f
typedef VectorD< uint32_t, 2 > draco::Vector2ui
typedef VectorD< uint32_t, 3 > draco::Vector3ui
typedef VectorD< uint32_t, 4 > draco::Vector4ui
typedef VectorD< uint32_t, 5 > draco::Vector5ui
typedef VectorD< uint32_t, 6 > draco::Vector6ui
typedef VectorD< uint32_t, 7 > draco::Vector7ui

Functions

template<class ScalarT, int dimension_t>
VectorD< ScalarT, dimension_t > draco::operator* (const ScalarT &o, const VectorD< ScalarT, dimension_t > &v)
template<class ScalarT, int dimension_t>
ScalarT draco::SquaredDistance (const VectorD< ScalarT, dimension_t > &v1, const VectorD< ScalarT, dimension_t > &v2)
template<class ScalarT>
VectorD< ScalarT, 3 > draco::CrossProduct (const VectorD< ScalarT, 3 > &u, const VectorD< ScalarT, 3 > &v)
template<class ScalarT, int dimension_t>
std::ostream & draco::operator<< (std::ostream &out, const draco::VectorD< ScalarT, dimension_t > &vec)