Magnum/Primitives/Line.h file

Function Magnum::Primitives::line2D(), Magnum::Primitives::line3D()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Primitives
Primitive library.

Classes

struct Magnum::Primitives::Line2D deprecated
2D line
struct Magnum::Primitives::Line3D deprecated
3D line

Functions

auto line2D(const Vector2& a, const Vector2& b) -> Trade::MeshData2D
2D line
auto line2D() -> Trade::MeshData2D
2D line in an identity transformation
auto line3D(const Vector3& a, const Vector3& b) -> Trade::MeshData3D
3D line
auto line3D() -> Trade::MeshData3D
3D line in an identity transformation