Skip to content

File vector.hpp

FileList > vector.hpp

Go to the source code of this file

  • #include <concepts>
  • #include <type_traits>

Classes

Type Name
class Vector3D <typename Numeric, typename Derived>
A generic 3D vector class.

Public Types

Type Name
typedef std::conditional_t< std::is_same_v< ExplicitType, void >, Default, ExplicitType > Either
A type alias to select either an explicit type or a default type.

Public Types Documentation

typedef Either

A type alias to select either an explicit type or a default type.

using Either =  std::conditional_t<std::is_same_v<ExplicitType, void>, Default, ExplicitType>;


The documentation for this class was generated from the following file vector.hpp