Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone.Math.Float2 Struct Reference

Public Member Functions

 Float2 (float value)
 Float2 (float x, float y)
readonly float GetMagnitude ()
readonly Float2 Normalize ()
readonly float Dot (Float2 other)
readonly Float2 Cross (Float2 other)
readonly override string ToString ()

Static Public Member Functions

static Float2 operator+ (Float2 a)
static Float2 operator- (Float2 a)
static Float2 operator+ (Float2 a, Float2 b)
static Float2 operator- (Float2 a, Float2 b)
static Float2 operator* (Float2 a, float b)
static Float2 operator/ (Float2 a, float b)
static implicit operator string (Float2 vec)

Public Attributes

float x
float y

The documentation for this struct was generated from the following file:
  • /github/workspace/plugins/Grindstone.Script.CSharp/CSharpCore/Math/FloatVectors.cs