Egon Elbre
|
3d6cafa94d
|
all: run go fix
Signed-off-by: Egon Elbre <egonelbre@gmail.com>
|
2026-02-18 08:36:57 +01:00 |
|
Walter Werner SCHNEIDER
|
30f8ac10b7
|
internal/stroke: fix point normalization for unit length.
This fixes the cases where the unit length matches the hypotenuse.
Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
|
2025-07-28 21:28:26 +02:00 |
|
Walter Werner SCHNEIDER
|
176570527d
|
internal/stroke: handle zero-length points
Fixes the edge case where a zero point would be normalized to NaN.
Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
|
2025-07-28 21:28:22 +02:00 |
|
Walter Werner SCHNEIDER
|
6ce7ffa4ca
|
internal/stroke: fix normal vector size and direction
The normal vector size and direction depend on the input point and the sign of the unit value provided.
Fixes: https://todo.sr.ht/~eliasnaur/gio/576
Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
|
2025-06-26 09:04:57 +02:00 |
|
Admin
|
f73287be87
|
all: clean up code, upgrade to modern Go
Signed-off-by: ddkwork
|
2025-05-05 19:46:39 +02:00 |
|
Egon Elbre
|
55404aec91
|
internal/stroke: add BenchmarkSplitCubic
Signed-off-by: Egon Elbre <egonelbre@gmail.com>
|
2023-06-27 12:34:40 +02:00 |
|