Rename vector components to match new terminology (#719)

* Renamed VectorAnchor, VectorShape and VectorControlPoint. Also fixed other naming inconsistencies.

* Renamed messages relating to vector and updated naming in several tools

* Renamed comments + caught a few areas I had missed.

* Caught a few more incorrect names

* Code review pass

* Review changes

* Fixed warning

* Additional review feedback

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Oliver Davies
2022-07-12 17:59:06 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 51e0975d20
commit e03ce4a991
39 changed files with 1125 additions and 1095 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ use std::ops::{Deref, DerefMut};
/// - Access data by providing Unique ID.
/// - Maintain ordering among the elements.
/// - Remove elements without changing Unique IDs.
/// This data structure is somewhat similar to a linked list in terms of invarients.
/// This data structure is somewhat similar to a linked list in terms of invariants.
/// The downside is that currently it requires a lot of iteration.
type ElementId = u64;
@@ -54,7 +54,7 @@ impl<T> IdBackedVec<T> {
}
/// Push an element to the end of the vector
/// Overriden from Vec, so adding values without creating an id cannot occur
/// Overridden from Vec, so adding values without creating an id cannot occur
pub fn push(&mut self, element: T) -> Option<ElementId> {
self.push_end(element)
}