Skip to content

Commit

Permalink
update comment text
Browse files Browse the repository at this point in the history
  • Loading branch information
saintentropy committed Jun 12, 2024
1 parent 06a4e6f commit 12ed87f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/DynamoCoreWpf/ViewModels/Watch3D/HelixWatch3DViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,8 @@ internal virtual void AggregateRenderPackages(IEnumerable<HelixRenderPackage> pa
//Indices [0,1,2,3,3,4,4,5,5,6,7,8] -> [(line 1) 1,2, (rectangle) 2,3,3,4,4,5,5,6 (line 2) 7,8]
//
//End State to pass to AddLineData
//Positions [P0,P1,P2,P3] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C2,C3] (line 1 (2 Colors), line 2 (2 Colors))
//Positions [P0,P1,P7,P8] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C7,C8] (line 1 (2 Colors), line 2 (2 Colors))
//Indices [0,1,2,3] -> [(line 1) 1,2, (line 2) 3,4]
if (lineVertexRangesToRemove.Any())
{
Expand Down Expand Up @@ -2213,8 +2213,8 @@ private static bool RemoveLineGeometryByRange(List<(int start, int end)> vertice
//In this example we want to remove the rectangle so the verticeRange would be [(2,6)]
//
//End State to pass to AddLineData
//Positions [P0,P1,P2,P3] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C2,C3] (line 1 (2 Colors), line 2 (2 Colors))
//Positions [P0,P1,P7,P8] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C7,C8] (line 1 (2 Colors), line 2 (2 Colors))
//Indices [0,1,2,3] -> [(line 1) 1,2, (line 2) 3,4]
//
//Note that while the Position and Color arrays are simple range remove operations, The Indices require both a remove and a normalization operation.
Expand Down Expand Up @@ -2248,8 +2248,8 @@ private static bool RemoveLineGeometryByRange(List<(int start, int end)> vertice
//Last step is to normalize the indices array so that it is correct for the remaining data.
//from the example above the data now looks like this:
//
//Positions [P0,P1,P2,P3] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C2,C3] (line 1 (2 Colors), line 2 (2 Colors))
//Positions [P0,P1,P7,P8] (line 1 (2 Positions), line 2 (2 Positions))
//Colors [C0,C1,C7,C8] (line 1 (2 Colors), line 2 (2 Colors))
//Indices [0,1,7,8] -> [(line 1) 1,2, (line 2) 7,8]
//
//The Indices array values are incorrect as they point to vertices that no longer exist in the Position Array.
Expand Down

0 comments on commit 12ed87f

Please sign in to comment.