Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Namespaces | Typedefs | Functions
vec4f.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/vec3f.hpp>
Include dependency graph for vec4f.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jau::math::Vector4F< Value_type, >
 4D vector using four 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::Point4F = Vector4F< T >
 Point4F alias of Vector4F. More...
 
typedef Point4F< float > jau::math::Point4f
 
typedef Vector4F< float > jau::math::Vec4f
 

Functions

template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector4F< T > jau::math::operator* (const T s, const Vector4F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector4F< T > jau::math::operator* (const Vector4F< T > &lhs, const T s) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector4F< T > jau::math::operator+ (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector4F< T > jau::math::operator- (const Vector4F< T > &lhs, const Vector4F< T > &rhs) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector4F< T > jau::math::operator/ (const Vector4F< 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 Vector4F< T > &v) noexcept
 
template<typename T , std::enable_if_t< std::is_floating_point_v< T >, bool > = true>
constexpr Vector3F< T > jau::math::to_vec3 (const Vector4F< T > &v) noexcept
 out = { this.x, this.y, this.z } dropping w, returns out. More...