public Vector3i Get(int k) { Vector3 result = new Vector3(); result[IdxMin] = (int)Center[IdxMin] + k; result[IdxOther1] = (int)Center[IdxOther1] + Other1 * k; result[IdxOther2] = (int)Center[IdxOther2] + Other2 * k; return(Vectors.ToInt(result)); }
// <property name="FilterTags" value="fbuilding,fwood,fconstruction,fframes"/> public static Vector3 Surface(Vector3 start, int iniy = -1, Func<Block,bool> _IsGround = null) { return Vectors.ToFloat(Surface(Vectors.ToInt(start), iniy, _IsGround)); }