NcEngine
nc::Vector3 Struct Reference

A three component vector. More...

#include <Vector.h>

Public Member Functions

constexpr Vector3 (float x_, float y_, float z_) noexcept
 
constexpr Vector3 (const Vector2 &v, float z_) noexcept
 

Static Public Member Functions

static constexpr Vector3 Splat (float v) noexcept
 
static constexpr Vector3 Zero () noexcept
 
static constexpr Vector3 One () noexcept
 
static constexpr Vector3 Up () noexcept
 
static constexpr Vector3 Down () noexcept
 
static constexpr Vector3 Left () noexcept
 
static constexpr Vector3 Right () noexcept
 
static constexpr Vector3 Front () noexcept
 
static constexpr Vector3 Back () noexcept
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

A three component vector.


The documentation for this struct was generated from the following file: