aboutsummaryrefslogtreecommitdiff
path: root/doc/Manual/ru/BH_Math.pod
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Manual/ru/BH_Math.pod')
-rw-r--r--doc/Manual/ru/BH_Math.pod48
1 files changed, 48 insertions, 0 deletions
diff --git a/doc/Manual/ru/BH_Math.pod b/doc/Manual/ru/BH_Math.pod
new file mode 100644
index 0000000..e7db7dd
--- /dev/null
+++ b/doc/Manual/ru/BH_Math.pod
@@ -0,0 +1,48 @@
+=encoding UTF-8
+
+
+=head1 НАИМЕНОВАНИЕ
+
+BH_Math - Математические функции
+
+
+=head1 СИНТАКСИС
+
+ #include <BH/Math.h>
+
+ cc prog.c -o prog -lbh
+
+
+=head1 ОПИСАНИЕ
+
+Библиотека BH_Math предоставляет набор математических функций для различных
+вычислений.
+
+
+=head1 API ВЫЗОВЫ
+
+
+=head2 BH_Lerpf
+
+ float BH_Lerpf(float a, float b, float t);
+
+Интерполирует значение между I<a> и I<b> с заданным коэффициентом I<t>.
+
+
+=head2 BH_Triangle3fBarycentric
+
+ void BH_Triangle3fBarycentric(const float a[3],
+ const float b[3],
+ const float c[3],
+ const float point[3],
+ float out[3]);
+
+Вычисляет барицентрические координаты точки I<point> относительно треугольника,
+заданного точками I<a>, I<b>, I<c>.
+
+Параметр I<out> описывает результирующий вектор.
+
+
+=head1 СМ. ТАКЖЕ
+
+L<BH>