mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Fix for intersection issue
This commit is contained in:
		@@ -125,7 +125,7 @@ export async function tiltedCylinder<T extends SVGGraphicsElement>(
 | 
			
		||||
    ) {
 | 
			
		||||
      let x = rx * rx * (1 - (y * y) / (ry * ry));
 | 
			
		||||
      if (x != 0) {
 | 
			
		||||
        x = Math.sqrt(x);
 | 
			
		||||
        x = Math.sqrt(Math.abs(x));
 | 
			
		||||
      }
 | 
			
		||||
      x = rx - x;
 | 
			
		||||
      if (point.x - (node.x ?? 0) > 0) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user