Работа над документацией по библиотеке

This commit is contained in:
Andrey Pokidov 2026-04-01 20:44:49 +07:00
parent 8ba075b557
commit e2bf8d28a8
17 changed files with 233 additions and 69 deletions

View file

@ -1,8 +1,10 @@
# Basic Geomtric Computations
[Русская версия / Russian version](intro-rus.md)
[Русский (Russian)](intro-rus.md)
[Deutsch (German)](intro-deu.md)
[简体中文 (Chinese)](intro-zho.md)
## Naming
## Naming
C programming language does not have namespaces, thus prefixes often play role of namespaces in C code.
@ -34,8 +36,8 @@ Prefixs of type ends the names of constats, types and functions of the library.
The library uses two types of floating point numbers: **float** and **double** (**binary32** and **binary64** types of the **IEEE 754** standard).
Thus there are two prefixes of types:
- **FP32** - means **F**loating **P**oint, **32** bit, which corresponds to the **float** type of the C programming language.
- **FP64** - means **F**loating **P**oint, **64** bit, which corresponds to the **double** type of the C programming language.
- **FP32** - means Floating Point, 32-bit, which corresponds to the **float** type of the C programming language.
- **FP64** - means Floating Point, 64-bit, which corresponds to the **double** type of the C programming language.
The constants and the types of structures which are based in the **float** type have **FP32_** as the type prefix:
- BGC_FP32_Vector3
@ -66,4 +68,3 @@ Using of such prefixes of a basic type allows to enhance the library with new ba
- [2D-vectors](vector2-eng.md)
- [3D-vectors](vector3-eng.md)
- [Quaternions](quaternion-rus.md)