nCine/Primitives/Vector2.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.

Classes

template<class T>
class nCine::Vector2
Two-component vector.

Typedefs

using Vector2f = Vector2<float>
Two-component vector of floats.
using Vector2i = Vector2<int>
Two-component vector of 32-bit integers.

Functions

template<class S>
auto operator*(S s, const Vector2<S>& v) -> Vector2<S>