24 lines
726 B
Markdown
24 lines
726 B
Markdown
# Basic-Geometry-c
|
|
|
|
## Library of basic geometric computations
|
|
|
|
[Версия на русском языке / Russian version](./README.md)
|
|
|
|
Programming language: C (C99)
|
|
|
|
The main goals of development of the library were:
|
|
|
|
1. Performance
|
|
2. Functionality
|
|
3. Versatility
|
|
|
|
Performance was the main goal of making of the library. That fact affected
|
|
the implementation features of the library.
|
|
|
|
For example, the main way to return data structures as a function result
|
|
was chosen to be returning via a parameter, which avoids redundant copying
|
|
of data through the call stack.
|
|
|
|
Also the majority of functions were made as inline function. That allows
|
|
a compiller to replace a call of some function onto the body of that
|
|
function.
|