Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
vector.h File Reference
#include <cmath>
#include <string>
#include "impeller/geometry/color.h"
#include "impeller/geometry/point.h"
#include "impeller/geometry/scalar.h"
#include "impeller/geometry/size.h"

Go to the source code of this file.

Classes

struct  impeller::Vector3
 
struct  impeller::Vector4
 

Namespaces

namespace  impeller
 
namespace  std
 

Functions

template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>>
constexpr Vector3 impeller::operator* (U s, const Vector3 &p)
 
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>>
constexpr Vector3 impeller::operator+ (U s, const Vector3 &p)
 
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>>
constexpr Vector3 impeller::operator- (U s, const Vector3 &p)
 
template<class U , class = std::enable_if_t<std::is_arithmetic_v<U>>>
constexpr Vector3 impeller::operator/ (U s, const Vector3 &p)
 
std::ostream & std::operator<< (std::ostream &out, const impeller::Vector3 &p)
 
std::ostream & std::operator<< (std::ostream &out, const impeller::Vector4 &p)