Account for reversed offsets in intersection point calculation
This commit is contained in:
		
							parent
							
								
									dafdbaf319
								
							
						
					
					
						commit
						c64384c362
					
				|  | @ -65,7 +65,7 @@ impl PlaneIntersection { | ||||||
|         let mut vs = vec![]; |         let mut vs = vec![]; | ||||||
|         for idx in 0..3 { |         for idx in 0..3 { | ||||||
|             let mut matrix = base_matrix; |             let mut matrix = base_matrix; | ||||||
|             *(matrix.col_mut(idx)) = -offsets; |             *(matrix.col_mut(idx)) = offsets; | ||||||
|             vs.push(matrix.determinant() / base_det); |             vs.push(matrix.determinant() / base_det); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue