This should probably be (const VoxelDetail& mouseVoxel).