Struct vec3f_t
Single-precision 3D vector: the 12-byte mirror of the C++ geom::vec3<float> (vec3f_t),
what core.dll takes for colours and float coordinates; not merged with vec3d_t (float vs double).
public struct vec3f_t : IEquatable<vec3f_t>
- Implements
- Inherited Members
- Extension Methods
Constructors
vec3f_t(vec3d_t)
Ctor.
public vec3f_t(vec3d_t src)
Parameters
srcvec3d_tsrc
vec3f_t(float, float, float)
Ctor.
public vec3f_t(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_t)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(vec3f_t other)
Parameters
othervec3f_tAn 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
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand 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_t, vec3f_t)
public static bool operator ==(vec3f_t left, vec3f_t right)
Parameters
Returns
operator !=(vec3f_t, vec3f_t)
public static bool operator !=(vec3f_t left, vec3f_t right)