emilk / emilk/egui

Add `Triangle` shape

Open
#3,375 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

I'd like a separate `Shape::Triangle` to not use a `PathShape`, which allocates a vector.

Versions:
`eframe`: 0.22.0

Contributor guide

Open the contributing guide

Research direction

Start by locating the Shape and PathShape definitions and tracing how triangle shapes are currently represented. The work is done when a separate Shape::Triangle exists and triangle rendering no longer requires a PathShape or its vector allocation; no specific test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.