Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
vec3f.hpp File Reference
#include <cmath>
#include <cstdarg>
#include <cstdint>
#include <cassert>
#include <limits>
#include <string>
#include <initializer_list>
#include <iostream>
#include <jau/float_math.hpp>
#include <jau/math/vec2f.hpp>
Include dependency graph for vec3f.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jau::math::Ray3F< T, >
 Simple compound denoting a ray. More...
 
class  jau::math::Vector3F< Value_type, >
 3D vector using three value_type components. More...
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::math
 

Typedefs

template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
using jau::math::Point3F = Vector3F< T >
 Point3F alias of Vector3F. More...
 
typedef Point3F< float > jau::math::Point3f
 
typedef Ray3F< float > jau::math::Ray3f
 
typedef Vector3F< float > jau::math::Vec3f
 

Functions

template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::operator* (const T s, const Vector3F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::operator* (const Vector3F< T > &lhs, const T s) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::operator+ (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::operator- (const Vector3F< T > &lhs, const Vector3F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::operator/ (const Vector3F< T > &lhs, const T s) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
std::ostream & jau::math::operator<< (std::ostream &out, const Ray3F< T > &v) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
std::ostream & jau::math::operator<< (std::ostream &out, const Vector3F< T > &v) noexcept