// gets whether the offset satisfies being within the gridspace
gets whether the offset satisfies being within the gridspace
gets whether the offset satisfies being within the gridspace
fn check_offset_out_of_gridspace(offset: &Vector3<i32>, camera_gridspace: &Vector3<i32>) -> bool {
        offset.x > camera_gridspace.x + CHUNK_VIEW_LIMIT ||
        offset.x < camera_gridspace.x - CHUNK_VIEW_LIMIT ||
        offset.y > camera_gridspace.y + CHUNK_VIEW_LIMIT ||
        offset.y < camera_gridspace.y - CHUNK_VIEW_LIMIT ||
        offset.z > camera_gridspace.z + CHUNK_VIEW_LIMIT ||
        offset.z < camera_gridspace.z - CHUNK_VIEW_LIMIT
    }
fn check_offset_out_of_gridspace ( offset : & Vector3 < i32 > , camera_gridspace : & Vector3 < i32 > ) -> bool { offset . x > camera_gridspace . x + CHUNK_VIEW_LIMIT || offset . x < camera_gridspace . x - CHUNK_VIEW_LIMIT || offset . y > camera_gridspace . y + CHUNK_VIEW_LIMIT || offset . y < camera_gridspace . y - CHUNK_VIEW_LIMIT || offset . z > camera_gridspace . z + CHUNK_VIEW_LIMIT || offset . z < camera_gridspace . z - CHUNK_VIEW_LIMIT }
gets whether the offset satisfies being within the gridspace
gets whether the offset satisfies being within the gridspace
offset
&Vector3<i32>
camera_gridspace
&Vector3<i32>