Vector3 SnapColumn(Vector3 position, Quaternion rotation) { IntegerVector3 transformedDim = rotation * dimensions; position.x = BlockArea.SnapDimension(BlockArea.ClampDimension(position.x, transformedDim.x)); position.z = BlockArea.SnapDimension(BlockArea.ClampDimension(position.z, transformedDim.z)); return(position); }