Skip to content
  • Robert Bragg's avatar
    culling: Use vertex_count not '4' to determine partial culls · 588d97c2
    Robert Bragg authored
    We were mistakenly using the constant 4 to determine the number of
    vertices that need to be culled for a paint-volume to be considered
    fully culled too. This is only ok for 2d volumes and was resulting in
    some 3d volumes being considered culled whenever 4 out of 8 vertices
    were culled. This fix is simply to reference the vertex_count variable
    instead of assuming 4.
    588d97c2