Cataclysm Core Mono Library (CCML) Documentation

Cataclysm.Math.Vec3

Cataclysm.Math.Vec3
CCML/Source/Cataclysm/Math/Vec3.cs

public struct Vec3
PropertyDescription
float X
float Y
float Z
Vec2 XY
static Vec3 One
static Vec3 UnitX
static Vec3 UnitY
static Vec3 UnitZ
static Vec3 Zero
MethodDescription
Vec3(float scalar)Constructor
Vec3(float x, float y, float z)Constructor
Vec3(Vec2 xy, float z)Constructor
float Magnitude()
float MagnitudeSquared()
Vec3 Normalized()
override bool Equals(object obj)
override int GetHashCode()
override string ToString()
static float DotProduct(Vec3 a, Vec3 b)
static Vec3 Lerp(Vec3 a, Vec3 b)
static float Magnitude(Vec3 vector)
static float MagnitudeSquared(Vec3 vector)
static Vec3 Normalized(Vec3 vector)
static Vec3 operator +(Vec3 a, Vec3 b)
static Vec3 operator *(Vec3 vector, float scalar)
static Vec3 operator *(float scalar, Vec3 vector)
static Vec3 operator *(Vec3 a, Vec3 b)
static Vec3 operator /(Vec3 vector, float scalar)
static Vec3 operator -(Vec3 vector)
static Vec3 operator -(Vec3 a, Vec3 b)
static bool operator ==(Vec3 a, Vec3 b)
static bool operator !=(Vec3 a, Vec3 b)