[Oberon] Oberon-7 - Circle Segments

Michael Schierl schierlm at gmx.de
Tue Feb 19 22:52:14 CET 2019


Hello Tomas,


Am 19.02.2019 um 18:23 schrieb Tomas Kral:

> I probably cannot do without trigonometry, right?

sine and cosine of 30°/60°/90° are all nice values (0, 0.5, sqrt(0.75),
1), so you can hardcode the values. For the square root you can use an
approximation if you want to avoid calculating it.


Regards,


Michael


More information about the Oberon mailing list