Searched refs:diameMax (Results 1 – 1 of 1) sorted by relevance
1143 … auto diameMax = particleParams[i].emitterConfig_.radius_ * 2 * scaleMax; // diameter = 2 * radius in SetParticleDrawRegion() local1144 left[i] = std::min(bounds.x_ - diameMax, bounds.x_ + position.x_ - diameMax); in SetParticleDrawRegion()1145 top[i] = std::min(bounds.y_ - diameMax, bounds.y_ + position.y_ - diameMax); in SetParticleDrawRegion()1146 …right[i] = std::max(boundsRight + diameMax + diameMax, position.x_ + emitSize.x_ + diameMax + diam… in SetParticleDrawRegion()1147 …bottom[i] = std::max(boundsBottom + diameMax + diameMax, position.y_ + emitSize.y_ + diameMax + di… in SetParticleDrawRegion()