Splines
- Lingua principale
- C#
- Stelle
- 6
- Fork
- 0
- Merge medio
- 1h 1m
- PR unite (30g)
- 2
Descrizione
Natural cubic splines
Each control point should consist of a 3D position.
Point[] Points - Property
AddPoint - method
RemovePoint - method
The points of the spline should be represented as a linked list and be ordered. This way the first and last points of the spline can be accessed by finding the 0 and Lenght - 1 indexes.
The AddPoint and RemovePoint should insert into the array moving all items by one depending on the operation.
If ONLY two points exist in the spline and a point is removed, the whole spline is removed.
TODO: Resolution controller for the spline. Minimum resolution is 1.
Splines should be rendered as 2D segments between points. Each segment is a quad when rendered using a resolution of 1. When the resolution is 2, each segment should be rendered as two quads and so on.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L'issue non indica file, test o punti di ingresso. Chiarisci innanzitutto con il maintainer la struttura dei dati della spline, la semantica dell'inserimento, il comportamento della rimozione, il controller della risoluzione e l'ambito del rendering. Il completamento deve includere il comportamento concordato della spline e i segmenti renderizzati alle risoluzioni richieste.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- computer-graphics, game-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100