public MWCRandom(IntVector3 p, int seed) { m_z = Hash.HashUInt32((uint)p.GetHashCode()); m_w = (uint)seed; if (m_z == 0) m_z = 1; if (m_w == 0) m_w = 1; }
public override int GetHashCode() { return(pos.GetHashCode()); }
public override int GetHashCode() { return _index.GetHashCode(); }
public override int GetHashCode() { unchecked { return(pos.GetHashCode() * 31 + rotation.GetHashCode()); } }