Struct vec3f
Native vec3f.
public struct vec3f : IEquatable<vec3f>
- Implements
- Inherited Members
- Extension Methods
Constructors
vec3f(Vec3d)
Ctor.
public vec3f(Vec3d src)
Parameters
src
Vec3dsrc
vec3f(float, float, float)
Ctor.
public vec3f(float x, float y, float z)
Parameters
Fields
x
x.
public float x
Field Value
y
y.
public float y
Field Value
z
z.
public float z
Field Value
Methods
Equals(vec3f)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(vec3f other)
Parameters
other
vec3fAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(vec3f, vec3f)
public static bool operator ==(vec3f left, vec3f right)
Parameters
Returns
operator !=(vec3f, vec3f)
public static bool operator !=(vec3f left, vec3f right)