Spelling: tesselate -> tessellate
This commit is contained in:
parent
aeaa54aab1
commit
ccc501f302
2 changed files with 4 additions and 4 deletions
|
@ -82,7 +82,7 @@ NOTE: `eframe`, `egui_web` and `egui_glium` has their own changelogs!
|
|||
* Backend: pointer (mouse/touch) position and buttons are now passed to egui in the event stream.
|
||||
* `DragValue::range` is now called `clamp_range` and also clamps incoming values.
|
||||
* Renamed `Triangles` to `Mesh`.
|
||||
* The tesselator now wraps the clip rectangle and mesh in `struct ClippedMesh(Rect, Mesh)`.
|
||||
* The tessellator now wraps the clip rectangle and mesh in `struct ClippedMesh(Rect, Mesh)`.
|
||||
* `Mesh::split_to_u16` now returns a 16-bit indexed `Mesh16`.
|
||||
|
||||
### Fixed 🐛
|
||||
|
|
|
@ -70,12 +70,12 @@ pub fn criterion_benchmark(c: &mut Criterion) {
|
|||
});
|
||||
|
||||
let galley = font.layout_multiline(LOREM_IPSUM_LONG.to_owned(), wrap_width);
|
||||
let mut tesselator = egui::epaint::Tessellator::from_options(Default::default());
|
||||
let mut tessellator = egui::epaint::Tessellator::from_options(Default::default());
|
||||
let mut mesh = egui::epaint::Mesh::default();
|
||||
c.bench_function("tesselate text", |b| {
|
||||
c.bench_function("tessellate text", |b| {
|
||||
b.iter(|| {
|
||||
let fake_italics = false;
|
||||
tesselator.tessellate_text(
|
||||
tessellator.tessellate_text(
|
||||
&fonts,
|
||||
egui::Pos2::ZERO,
|
||||
&galley,
|
||||
|
|
Loading…
Reference in a new issue