Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
Vector3.hpp File Reference

Namespaces

namespace  mundy

Concepts

concept  mundy::ValidVector3Type
 A temporary concept to check if a type is a valid AVector3 type TODO(palmerb4): Extend this concept to contain all shared setters and getters for our vectors.

Functions

Special vector3 operations
template<typename U, typename T, ValidAccessor< U > Accessor1, ValidAccessor< T > Accessor2>
constexpr auto mundy::cross (const AVector3< U, Accessor1 > &a, const AVector3< T, Accessor2 > &b) -> AVector3< std::common_type_t< T, U > >
 Cross product.
AVector3<T, Accessor> views
template<typename T, ValidAccessor< T > Accessor>
constexpr auto mundy::get_vector3_view (Accessor &&data)
 A helper function to create a AVector3<T, Accessor> based on a given accessor.
template<typename T, ValidAccessor< T > Accessor>
constexpr auto mundy::get_owning_vector3 (Accessor &&data)