Remove trailing whitespace

This commit is contained in:
2025-06-22 18:48:26 +03:00
parent 6ff6896969
commit 77470adbcd
49 changed files with 238 additions and 238 deletions

View File

@@ -27,7 +27,7 @@ The BH_Algo library provides a set of algorithms for working with data:
=over
=item *
=item *
Value swapping (L</BH_Swap>)
@@ -35,18 +35,18 @@ Value swapping (L</BH_Swap>)
Array partitioning (L</BH_Partition>)
=item *
=item *
Sorting (L</BH_Sort>)
=item *
=item *
Heap operations (L</BH_HeapMake>, L</BH_HeapRemove>, L</BH_HeapInsert>,
L</BH_HeapReplace>)
=back
These algorithms allow you to efficiently perform various operations on arrays
These algorithms allow you to efficiently perform various operations on arrays
and other data structures.
@@ -72,7 +72,7 @@ I<size>.
BH_EqualCallback equal);
Partitions the array of elements I<array> (with the number of elements I<size>
and the size of the element I<element>) into two groups relative to the pivot
and the size of the element I<element>) into two groups relative to the pivot
element I<pivot>.
The I<equal> parameter takes a pointer to a function that compares two elements.
@@ -90,7 +90,7 @@ the second group.
size_t element,
BH_EqualCallback equal);
Sorts the array of elements I<array> (with the number of elements I<size> and
Sorts the array of elements I<array> (with the number of elements I<size> and
the size of the element I<element>).
The I<equal> parameter takes a pointer to a function that compares two elements.
@@ -103,7 +103,7 @@ The I<equal> parameter takes a pointer to a function that compares two elements.
size_t element,
BH_EqualCallback equal);
Creates a heap in the array I<array> (with the number of elements I<size> and
Creates a heap in the array I<array> (with the number of elements I<size> and
the size of the element I<element>).
The I<equal> parameter takes a pointer to a function that compares two elements.
@@ -116,7 +116,7 @@ The I<equal> parameter takes a pointer to a function that compares two elements.
size_t element,
BH_EqualCallback equal);
Extracts the top element of the heap in the array I<array> (with the number of
Extracts the top element of the heap in the array I<array> (with the number of
elements I<size> and the size of the element I<element>).
The I<equal> parameter takes a pointer to a function that compares two elements.
@@ -133,7 +133,7 @@ The I<equal> parameter takes a pointer to a function that compares two elements.
Adds the element I<value> to the heap in the array I<array> (with the number of
elements I<size> and the size of the element I<element>).
If I<value> is NULL, it is assumed that the new value is at the end of the
If I<value> is NULL, it is assumed that the new value is at the end of the
array.
The I<equal> parameter takes a pointer to a function that compares two elements.
@@ -147,11 +147,11 @@ The I<equal> parameter takes a pointer to a function that compares two elements.
size_t element,
BH_EqualCallback equal);
Extracts the top element of the heap in the array I<array> (with the number of
elements I<size> and the size of the element I<element>) and adds the element
Extracts the top element of the heap in the array I<array> (with the number of
elements I<size> and the size of the element I<element>) and adds the element
I<value> to it.
If I<value> is NULL, it is assumed that the new value is at the end of the
If I<value> is NULL, it is assumed that the new value is at the end of the
array.
The I<equal> parameter takes a pointer to a function that compares two elements.

View File

@@ -61,8 +61,8 @@ BH_Args - command line argument processing
=head1 DESCRIPTION
The BH_Args library is designed for convenient handling of command line
arguments in programs. It allows you to define a set of options that can be
The BH_Args library is designed for convenient handling of command line
arguments in programs. It allows you to define a set of options that can be
specified when starting a program and provides mechanisms for their analysis and
processing.
@@ -137,7 +137,7 @@ If the I<padding> parameter is 0, the default value (30) will be used.
The I<key> field contains the option identifier. If the I<key> identifier is a
printable ASCII character, it will be used as a short argument.
The optional I<name> field contains a string that will be used as a long
The optional I<name> field contains a string that will be used as a long
argument.
The I<flags> field contains argument flags. A combination of the following flags
@@ -155,7 +155,7 @@ The argument value is optional.
=back
The I<description> field contains a string that will be used when displaying
The I<description> field contains a string that will be used when displaying
help information using the L</BH_ArgsHelp> function.

View File

@@ -16,7 +16,7 @@ BH_Box2f - two-dimensional bounding box
=head1 DESCRIPTION
The BH_Box2f module provides functions for working with two-dimensional bounding
boxes. It includes operations for union, intersection, checking if a point is
boxes. It includes operations for union, intersection, checking if a point is
inside a rectangle, and calculating the bounding box for a set of points.

View File

@@ -9,14 +9,14 @@ BH_Box3f - three-dimensional bounding box
=head1 SYNTAX
#include <BH/Math/Box3f.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Box3f module provides functions for working with three-dimensional
bounding boxes. It includes operations for union, intersection, checking if a
The BH_Box3f module provides functions for working with three-dimensional
bounding boxes. It includes operations for union, intersection, checking if a
point is inside a box, and calculating the bounding box for a set of points.

View File

@@ -9,14 +9,14 @@ BH_Hashmap - unordered associative array
=head1 SYNTAX
#include <BH/Hashmap.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Hashmap library provides an implementation of an unordered associative
array based on a hash table. It allows you to store and retrieve data by key
The BH_Hashmap library provides an implementation of an unordered associative
array based on a hash table. It allows you to store and retrieve data by key
efficiently.
@@ -142,7 +142,7 @@ Returns the maximum load factor.
Sets the maximum load factor I<factor>.
The new value of the maximum load factor will be applied on the next call to
The new value of the maximum load factor will be applied on the next call to
L</BH_HashmapInsert> or L</BH_HashmapReserve>.

View File

@@ -15,9 +15,9 @@ BH_Line - a straight line on a plane.
=head1 DESCRIPTION
The BH_Line module provides functions for working with straight lines on a
plane. It allows you to calculate the coefficients of a line based on two
points, find the distance from a point to a line, and determine the closest
The BH_Line module provides functions for working with straight lines on a
plane. It allows you to calculate the coefficients of a line based on two
points, find the distance from a point to a line, and determine the closest
point on the line to a given point.
@@ -30,7 +30,7 @@ point on the line to a given point.
const float b[2],
float out[3]);
Calculates the coefficients of a line on a plane based on two points I<a> and
Calculates the coefficients of a line on a plane based on two points I<a> and
I<b>.
The I<out> parameter describes the resulting line on the plane.

View File

@@ -9,13 +9,13 @@ BH_Mat3f - a real 3x3 matrix
=head1 SYNTAX
#include <BH/Math/Mat3f.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Mat3f module provides a set of functions for working with real 3x3
The BH_Mat3f module provides a set of functions for working with real 3x3
matrices.

View File

@@ -9,15 +9,15 @@ BH_Mat4f - real 4x4 matrix
=head1 SYNTAX
#include <BH/Math/Mat4f.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Mat4f module provides a set of functions for working with real 4x4
matrices. These functions allow you to perform various operations on matrices,
such as addition, subtraction, multiplication, transposition, determinant
The BH_Mat4f module provides a set of functions for working with real 4x4
matrices. These functions allow you to perform various operations on matrices,
such as addition, subtraction, multiplication, transposition, determinant
calculation, and others.

View File

@@ -15,7 +15,7 @@ BH_Math - Mathematical functions
=head1 DESCRIPTION
The BH_Math library provides a set of mathematical functions for various
The BH_Math library provides a set of mathematical functions for various
calculations.
@@ -25,7 +25,7 @@ calculations.
=head2 BH_Lerpf
float BH_Lerpf(float a,
float b,
float b,
float t);
Interpolates the value between I<a> and I<b> with a given coefficient I<t>.
@@ -39,7 +39,7 @@ Interpolates the value between I<a> and I<b> with a given coefficient I<t>.
const float point[3],
float out[3]);
Calculates the barycentric coordinates of the I<point> relative to the
Calculates the barycentric coordinates of the I<point> relative to the
triangle defined by points I<a>, I<b>, I<c>.
The I<out> parameter describes the resulting vector.

View File

@@ -9,15 +9,15 @@ BH_Plane - Plane in space
=head1 SYNTAX
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Plane module provides functions for working with planes in
three-dimensional space. It allows you to calculate the coefficients of a plane
from three points, determine the distance from a point to a plane, and find the
The BH_Plane module provides functions for working with planes in
three-dimensional space. It allows you to calculate the coefficients of a plane
from three points, determine the distance from a point to a plane, and find the
closest point on the plane to a given point.

View File

@@ -9,16 +9,16 @@ BH_Quat - Quaternion
=head1 SYNTAX
#include <BH/Math/Quat.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
This module provides a set of functions for working with quaternions.
Quaternions are used to represent rotations in three-dimensional space and have
advantages over other methods, such as rotation matrices or Euler angles, in
terms of stability against error accumulation during multiple rotation
This module provides a set of functions for working with quaternions.
Quaternions are used to represent rotations in three-dimensional space and have
advantages over other methods, such as rotation matrices or Euler angles, in
terms of stability against error accumulation during multiple rotation
operations.
@@ -98,7 +98,7 @@ The parameter I<out> describes the resulting quaternion.
#define BH_Quat4fLerp(a, b, t, out) \
BH_Vec4fLerp(a, b, t, out)
Performs linear interpolation between two quaternions I<a> and I<b> with
Performs linear interpolation between two quaternions I<a> and I<b> with
parameter I<t>.
The parameter I<out> describes the resulting quaternion.
@@ -149,7 +149,7 @@ The parameter I<out> describes the resulting quaternion.
float t,
float out[4]);
Performs spherical linear interpolation between two quaternions I<a> and I<b>
Performs spherical linear interpolation between two quaternions I<a> and I<b>
with parameter I<t>.
The parameter I<out> describes the resulting quaternion.
@@ -176,7 +176,7 @@ The parameter I<out> describes the resulting quaternion.
float angle,
float out[4]);
Calculates the quaternion from rotation around the I<axis> with the given
Calculates the quaternion from rotation around the I<axis> with the given
I<angle>.
The parameter I<out> describes the resulting quaternion.

View File

@@ -17,7 +17,7 @@ BH_Queue - queue container
The BH_Queue module provides an implementation of a queue container that allows
adding elements to the end and removing them from the beginning. The queue is
based on a dynamic array, which ensures efficient memory usage and fast access
based on a dynamic array, which ensures efficient memory usage and fast access
to elements.
@@ -30,7 +30,7 @@ to elements.
Creates a queue.
If successful, the function returns a pointer to a new BH_Queue object, or NULL
If successful, the function returns a pointer to a new BH_Queue object, or NULL
in case of an error.
@@ -50,7 +50,7 @@ Clears the queue.
=head2 BH_QueueReserve
int BH_QueueReserve(BH_Queue *queue,
int BH_QueueReserve(BH_Queue *queue,
size_t size);
Reserves space for at least I<size> elements.
@@ -62,7 +62,7 @@ If successful, the function returns 0; otherwise, it returns an error code.
=head2 BH_QueueInsert
int BH_QueueInsert(BH_Queue *queue,
int BH_QueueInsert(BH_Queue *queue,
void *value);
Inserts an element I<value>.
@@ -83,7 +83,7 @@ Calling this function invalidates existing iterators.
=head2 BH_QueueFront
int BH_QueueFront(BH_Queue *queue,
int BH_QueueFront(BH_Queue *queue,
void **value);
Returns the first element of the queue.
@@ -116,7 +116,7 @@ Returns the capacity.
=head2 BH_QueueIterNext
void *BH_QueueIterNext(BH_Queue *queue,
void *BH_QueueIterNext(BH_Queue *queue,
void *iter);
Returns an iterator to the next element.

View File

@@ -9,14 +9,14 @@ BH_Ray2f, BH_Segment2f - Ray/segment on a plane
=head1 SYNTAX
#include <BH/Math/Ray2f.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
This module provides functions for working with rays and segments on a plane.
It includes functions for checking intersections between rays, segments, lines,
It includes functions for checking intersections between rays, segments, lines,
and bounding rectangles.
@@ -59,10 +59,10 @@ The parameters I<aStart> and I<aDirection> describe the first ray.
The parameters I<bStart> and I<bDirection> describe the second ray.
The parameter I<time1> describes the resulting intersection time of the first
The parameter I<time1> describes the resulting intersection time of the first
ray.
The parameter I<time2> describes the resulting intersection time of the second
The parameter I<time2> describes the resulting intersection time of the second
ray.
If successful, the function returns 0, otherwise it returns an error code.
@@ -148,7 +148,7 @@ The parameters I<aStart> and I<aEnd> describe the first segment.
The parameters I<bStart> and I<bEnd> describe the second segment.
The parameter I<t> describes the resulting intersection time of the first
The parameter I<t> describes the resulting intersection time of the first
segment.
The parameter I<out> describes the resulting intersection point.

View File

@@ -9,14 +9,14 @@ BH_Ray3f, BH_Segment3f - ray/segment in space
=head1 SYNTAX
#include <BH/Math/Ray3f.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
This module provides functions for working with rays and segments in
three-dimensional space. It includes methods for checking intersections of rays
This module provides functions for working with rays and segments in
three-dimensional space. It includes methods for checking intersections of rays
and segments with planes, triangles, and bounding boxes.
@@ -126,7 +126,7 @@ The parameters I<aStart> and I<aDirection> describe the ray.
The parameters I<bMin> and I<bMax> describe the bounding box.
The parameter I<t> describes the resulting time of the first segment's
The parameter I<t> describes the resulting time of the first segment's
intersection.
The parameter I<out> describes the resulting point of intersection.
@@ -149,7 +149,7 @@ The parameters I<aStart> and I<aEnd> describe the segment.
The parameters I<bMin> and I<bMax> describe the bounding box.
The parameter I<t> describes the resulting time of the first segment's
The parameter I<t> describes the resulting time of the first segment's
intersection.
The parameter I<out> describes the resulting point of intersection.

View File

@@ -15,18 +15,18 @@ BH_String - Working with strings
=head1 DESCRIPTION
The BH_String library provides a set of functions for working with strings,
The BH_String library provides a set of functions for working with strings,
including converting numbers to strings and back.
=head1 DEFINING THE BASE
The functions of the I<StringToInt> family have an algorithm for determining the
base of a number by string prefixes:
The functions of the I<StringToInt> family have an algorithm for determining
the base of a number by string prefixes:
=over
=item *
=item *
If the prefix I<0b>, then base 2
@@ -61,7 +61,7 @@ Otherwise, base 10.
Formats a real number I<value> into a null-terminated string I<string>
(with a length limit of I<size>).
The I<format> parameter specifies the format for converting a number to a
The I<format> parameter specifies the format for converting a number to a
string. Acceptable formats:
=over
@@ -80,9 +80,9 @@ Fixed or scientific format, depending on which one is shorter.
=back
The I<precision> parameter sets the precision of converting a number to a
string. If the accuracy value is negative, the conversion will be performed with
the minimum required accuracy so that the reverse conversion results in the
The I<precision> parameter sets the precision of converting a number to a
string. If the accuracy value is negative, the conversion will be performed with
the minimum required accuracy so that the reverse conversion results in the
original number.
The optional parameter I<actual> returns the length of the recorded string.
@@ -100,8 +100,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats an 8-bit signed integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
Formats an 8-bit signed integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -118,8 +118,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats a 16-bit signed integer I<value> into a null-terminated string I<string>
(with a length limit of I<size>).
Formats a 16-bit signed integer I<value> into a null-terminated string I<string>
(with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -137,7 +137,7 @@ If successful, it returns 0 or an error code.
size_t *actual);
Formats a 32-bit signed integer I<value> into a null-terminated string I<string>
(with a length limit of I<size>).
(with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -155,7 +155,7 @@ If successful, it returns 0 or an error code.
size_t *actual);
Formats a 64-bit signed integer I<value> into a null-terminated string I<string>
(with a length limit of I<size>).
(with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -172,8 +172,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats an 8-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
Formats an 8-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -190,8 +190,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats a 16-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
Formats a 16-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -208,8 +208,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats a 32-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
Formats a 32-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -226,8 +226,8 @@ If successful, it returns 0 or an error code.
int base,
size_t *actual);
Formats a 64-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
Formats a 64-bit unsigned integer I<value> into a null-terminated string
I<string> (with a length limit of I<size>).
The I<base> parameter sets the base for the conversion.
@@ -243,8 +243,8 @@ If successful, it returns 0 or an error code.
Converts the string I<string> to a real number.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<size> returns the number of characters read from the
string.
If successful, it returns the converted number or 0.
@@ -257,8 +257,8 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to an 8-bit signed integer.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<base> specifies the base of the number.
@@ -273,8 +273,8 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to a signed 16-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<base> specifies the base of the number.
@@ -289,8 +289,8 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to a signed 32-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<size> returns the number of characters read from the
string.
The optional parameter I<base> specifies the base of the number.
@@ -306,7 +306,7 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to a signed 64-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
string.
The optional parameter I<base> specifies the base of the number.
@@ -322,7 +322,7 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to an unsigned 8-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
string.
The optional parameter I<base> specifies the base of the number.
@@ -338,7 +338,7 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to an unsigned 16-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
string.
The optional parameter I<base> specifies the base of the number.
@@ -354,7 +354,7 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to an unsigned 32-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
string.
The optional parameter I<base> specifies the base of the number.
@@ -370,7 +370,7 @@ If successful, it returns the converted number or 0.
Converts the string I<string> to an unsigned 64-bit integer.
The optional parameter I<size> returns the number of characters read from the
string.
string.
The optional parameter I<base> specifies the base of the number.

View File

@@ -9,14 +9,14 @@ BH_Thread - multithreading and synchronization primitives
=head1 SYNTAX
#include <BH/Thread.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Thread library provides a set of functions for working with
multithreading and thread synchronization. It includes functions for creating
The BH_Thread library provides a set of functions for working with
multithreading and thread synchronization. It includes functions for creating
and managing threads, working with mutexes, semaphores, condition variables, and
spinlocks.
@@ -194,7 +194,7 @@ a change in the condition.
In some situations, the signal of a condition change may be false.
The I<mutex> parameter specifies the mutex used in conjunction with the
The I<mutex> parameter specifies the mutex used in conjunction with the
condition variable.
Returns 0 on success, otherwise an error code.
@@ -211,7 +211,7 @@ signals a change in the condition within a specified time I<timeout>.
In some situations, the signal of a condition change may be false.
The I<mutex> parameter specifies the mutex used in conjunction with the
The I<mutex> parameter specifies the mutex used in conjunction with the
condition variable.
The I<timeout> parameter specifies the waiting time in milliseconds.

View File

@@ -30,7 +30,7 @@ strings in the specified encodings.
Converts the Unicode code I<unit> to lowercase.
The conversion is performed for characters in the Basic Multilingual Plane
The conversion is performed for characters in the Basic Multilingual Plane
(i.e., the first 65,536 codes).
@@ -40,7 +40,7 @@ The conversion is performed for characters in the Basic Multilingual Plane
Converts the Unicode code I<unit> to uppercase.
The conversion is performed for characters in the Basic Multilingual Plane
The conversion is performed for characters in the Basic Multilingual Plane
(i.e., the first 65,536 codes).
@@ -50,12 +50,12 @@ The conversion is performed for characters in the Basic Multilingual Plane
size_t size,
uint32_t *unit);
Decodes the UTF-8 sequence from I<string> (with the specified length I<size>)
Decodes the UTF-8 sequence from I<string> (with the specified length I<size>)
and writes the code to I<unit>.
Invalid UTF-8 sequences will be converted to code -1.
If successful, the function returns the number of bytes read or 0 if I<string>
If successful, the function returns the number of bytes read or 0 if I<string>
contains only part of the sequence.
@@ -82,7 +82,7 @@ and writes the code to I<unit>.
Invalid UTF-16LE sequences will be converted to code -1.
If successful, the function returns the number of bytes read or 0 if I<string>
If successful, the function returns the number of bytes read or 0 if I<string>
contains only part of the sequence.
@@ -97,7 +97,7 @@ and writes the code to I<unit>.
Invalid UTF-16BE sequences will be converted to code -1.
If successful, the function returns the number of bytes read or 0 if I<string>
If successful, the function returns the number of bytes read or 0 if I<string>
contains only part of the sequence.
@@ -136,7 +136,7 @@ and writes the code to I<unit>.
Invalid UTF-32LE sequences will be converted to code -1.
If successful, the function returns the number of bytes read or 0 if I<string>
If successful, the function returns the number of bytes read or 0 if I<string>
contains only part of the sequence.
@@ -151,7 +151,7 @@ and writes the code to I<unit>.
Invalid UTF-32BE sequences will be converted to code -1.
If successful, the function returns the number of bytes read or 0 if I<string>
If successful, the function returns the number of bytes read or 0 if I<string>
contains only part of the sequence.

View File

@@ -9,14 +9,14 @@ BH_Util - Utility Functions
=head1 SYNTAX
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Util library provides a set of functions for working with numbers in
little-endian and big-endian formats, as well as for classifying floating-point
The BH_Util library provides a set of functions for working with numbers in
little-endian and big-endian formats, as well as for classifying floating-point
values.
@@ -142,7 +142,7 @@ Reads a signed 64-bit big-endian integer from the buffer.
=head2 BH_Write16LEu
void BH_Write16LEu(char *buffer,
void BH_Write16LEu(char *buffer,
uint16_t value);
Writes an unsigned 16-bit little-endian integer to the buffer.
@@ -158,7 +158,7 @@ Writes a signed 16-bit little-endian integer to the buffer.
=head2 BH_Write32LEu
void BH_Write32LEu(char *buffer,
void BH_Write32LEu(char *buffer,
uint32_t value);
Writes an unsigned 32-bit little-endian integer to the buffer.
@@ -166,7 +166,7 @@ Writes an unsigned 32-bit little-endian integer to the buffer.
=head2 BH_Write32LEs
void BH_Write32LEs(char *buffer,
void BH_Write32LEs(char *buffer,
int32_t value);
Writes a signed 32-bit little-endian integer to the buffer.
@@ -206,7 +206,7 @@ Writes a signed 16-bit big-endian integer to the buffer.
=head2 BH_Write32BEu
void BH_Write32BEu(char *buffer,
void BH_Write32BEu(char *buffer,
uint32_t value);
Writes an unsigned 32-bit big-endian integer to the buffer.
@@ -214,7 +214,7 @@ Writes an unsigned 32-bit big-endian integer to the buffer.
=head2 BH_Write32BEs
void BH_Write32BEs(char *buffer,
void BH_Write32BEs(char *buffer,
int32_t value);
Writes a signed 32-bit big-endian integer to the buffer.
@@ -222,7 +222,7 @@ Writes a signed 32-bit big-endian integer to the buffer.
=head2 BH_Write64BEu
void BH_Write64BEu(char *buffer,
void BH_Write64BEu(char *buffer,
uint64_t value);
Writes an unsigned 64-bit big-endian integer to the buffer.
@@ -230,7 +230,7 @@ Writes an unsigned 64-bit big-endian integer to the buffer.
=head2 BH_Write64BEs
void BH_Write64BEs(char *buffer,
void BH_Write64BEs(char *buffer,
int64_t value);
Writes a signed 64-bit big-endian integer to the buffer.

View File

@@ -16,7 +16,7 @@ BH_Vec2f - two-dimensional real vector
=head1 DESCRIPTION
The BH_Vec2f module provides a set of functions for working with two-dimensional
vectors. It includes operations for addition, subtraction, multiplication,
vectors. It includes operations for addition, subtraction, multiplication,
scaling, calculating the dot and cross product, as well as normalizing vectors.
@@ -161,7 +161,7 @@ The I<out> parameter describes the resulting vector.
float t,
float out[2]);
Performs linear interpolation between two vectors I<a> and I<b> with parameter
Performs linear interpolation between two vectors I<a> and I<b> with parameter
I<t>.
The I<out> parameter describes the resulting vector.

View File

@@ -9,7 +9,7 @@ BH_Vec2i - two-dimensional integer vector
=head1 SYNTAX
#include <BH/Math.h>
cc prog.c -o prog -lbh

View File

@@ -15,7 +15,7 @@ BH_Vec3f - three-dimensional real vector
=head1 DESCRIPTION
The BH_Vec3f module provides a set of functions for working with
The BH_Vec3f module provides a set of functions for working with
three-dimensional vectors. The functions allow performing arithmetic operations,
calculating scalar and vector products, normalizing vectors, and performing
other vector operations.

View File

@@ -9,13 +9,13 @@ BH_Vec3i - three-dimensional integer vector
=head1 SYNTAX
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Vec3i module provides a set of functions for working with
The BH_Vec3i module provides a set of functions for working with
three-dimensional integer vectors.
@@ -73,7 +73,7 @@ The I<out> parameter describes the resulting vector.
const int c[3],
int out[3]);
Calculates the result of the sum I<c> and the result of multiplying vectors
Calculates the result of the sum I<c> and the result of multiplying vectors
I<a> and I<b>.
The I<out> parameter describes the resulting vector.

View File

@@ -15,9 +15,9 @@ BH_Vec4f - four-dimensional real vector
=head1 DESCRIPTION
The BH_Vec4f module provides a set of functions for working with
The BH_Vec4f module provides a set of functions for working with
four-dimensional vectors. The functions allow performing arithmetic operations,
normalization, calculating the dot product, and other mathematical operations
normalization, calculating the dot product, and other mathematical operations
on vectors.
@@ -155,7 +155,7 @@ The I<out> parameter describes the resulting vector.
float t,
float out[4]);
Performs linear interpolation between two vectors I<a> and I<b> with parameter
Performs linear interpolation between two vectors I<a> and I<b> with parameter
I<t>.
The I<out> parameter describes the resulting vector.

View File

@@ -9,13 +9,13 @@ BH_Vec4i - four-dimensional integer vector
=head1 SYNTAX
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 DESCRIPTION
The BH_Vec4i module provides a set of functions for working with
The BH_Vec4i module provides a set of functions for working with
four-dimensional integer vectors.

View File

@@ -27,19 +27,19 @@ BH_Algo - Общие алгоритмы
=over
=item *
=item *
Обмен значениями (L</BH_Swap>)
=item *
=item *
Разбиение массива (L</BH_Partition>)
=item *
=item *
Сортировка (L</BH_Sort>)
=item *
=item *
Работа с кучей (L</BH_HeapMake>, L</BH_HeapRemove>, L</BH_HeapInsert>,
L</BH_HeapReplace>)

View File

@@ -15,7 +15,7 @@ BH_Box2f - двухмерный ограничивающий прямоугол
=head1 ОПИСАНИЕ
Модуль BH_Box2f предоставляет функции для работы с двухмерными ограничивающими
Модуль BH_Box2f предоставляет функции для работы с двухмерными ограничивающими
прямоугольниками. Он включает в себя операции объединения, пересечения, проверки
вхождения точки в прямоугольник и вычисления ограничивающего прямоугольника по
набору точек.
@@ -39,7 +39,7 @@ BH_Box2f - двухмерный ограничивающий прямоугол
Параметры I<bMin> и I<bMax> описывают ограничивающий прямоугольник B.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
@@ -58,7 +58,7 @@ BH_Box2f - двухмерный ограничивающий прямоугол
Параметры I<bMin> и I<bMax> описывают ограничивающий прямоугольник B.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
Возвращает 0 в случае успешного пересечения или код ошибки.
@@ -90,7 +90,7 @@ BH_Box2f - двухмерный ограничивающий прямоугол
Параметры I<points> и I<size> описывают входной массив точек.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
Возвращает 0 в случае успешного вычисления или код ошибки.

View File

@@ -9,7 +9,7 @@ BH_Box3f - трёхмерный ограничивающий прямоугол
=head1 СИНТАКСИС
#include <BH/Math/Box3f.h>
cc prog.c -o prog -lbh
@@ -39,7 +39,7 @@ BH_Box3f - трёхмерный ограничивающий прямоугол
Параметры I<bMin> и I<bMax> описывают ограничивающий прямоугольник B.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
@@ -58,7 +58,7 @@ BH_Box3f - трёхмерный ограничивающий прямоугол
Параметры I<bMin> и I<bMax> описывают ограничивающий прямоугольник B.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
Возвращает 0 в случае успешного пересечения или код ошибки.
@@ -91,7 +91,7 @@ BH_Box3f - трёхмерный ограничивающий прямоугол
Параметры I<points> и I<size> описывают входной массив точек.
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
Параметры I<outMin> и I<outMax> описывают результирующий ограничивающий
прямоугольник.
Возвращает 0 в случае успеха или код ошибки.

View File

@@ -9,14 +9,14 @@ BH_Hashmap - неупорядочный ассоциативный массив
=head1 СИНТАКСИС
#include <BH/Hashmap.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Библиотека BH_Hashmap предоставляет реализацию неупорядоченного ассоциативного
массива, основанного на хэш-таблице. Она позволяет эффективно хранить и
массива, основанного на хэш-таблице. Она позволяет эффективно хранить и
извлекать данные по ключу.
@@ -30,10 +30,10 @@ BH_Hashmap - неупорядочный ассоциативный массив
Создаёт ассоциативный массив.
Параметр I<equal> принимает указатель на функцию, которая сравнивает два
Параметр I<equal> принимает указатель на функцию, которая сравнивает два
элемента.
Параметр I<hash> принимает указатель на функцию, вычисляющую хэш-значение
Параметр I<hash> принимает указатель на функцию, вычисляющую хэш-значение
элемента.
В случае успеха функция возвращает указатель на новый объект BH_Hashmap или NULL
@@ -88,7 +88,7 @@ BH_Hashmap - неупорядочный ассоциативный массив
Удаляет элемент с заданным значением ключа I<key>.
Если ассоциативный массив содержит несколько элементов с одинаковым значением
Если ассоциативный массив содержит несколько элементов с одинаковым значением
ключа, функция удалит только одну пару ключ-значение.
Вызов этой функции делает существующие итераторы недействительными.

View File

@@ -15,8 +15,8 @@ BH_Line - прямая на плоскости.
=head1 ОПИСАНИЕ
Модуль BH_Line предоставляет функции для работы с прямыми на плоскости. Он
позволяет вычислять коэффициенты прямой по двум точкам, находить расстояние от
Модуль BH_Line предоставляет функции для работы с прямыми на плоскости. Он
позволяет вычислять коэффициенты прямой по двум точкам, находить расстояние от
точки до прямой и определять ближайшую точку на прямой к заданной точке.

View File

@@ -9,7 +9,7 @@ BH_Mat3f - вещественная матрица 3x3
=head1 СИНТАКСИС
#include <BH/Math/Mat3f.h>
cc prog.c -o prog -lbh

View File

@@ -9,7 +9,7 @@ BH_Mat4f - вещественная матрица 4x4
=head1 СИНТАКСИС
#include <BH/Math/Mat4f.h>
cc prog.c -o prog -lbh
@@ -17,7 +17,7 @@ BH_Mat4f - вещественная матрица 4x4
Модуль BH_Mat4f предоставляет набор функций для работы с вещественными матрицами
размером 4x4. Эти функции позволяют выполнять различные операции над матрицами,
такие как сложение, вычитание, умножение, транспонирование, вычисление
такие как сложение, вычитание, умножение, транспонирование, вычисление
определителя и другие.

View File

@@ -9,13 +9,13 @@ BH_Math - Математические функции
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Библиотека BH_Math предоставляет набор математических функций для различных
Библиотека BH_Math предоставляет набор математических функций для различных
вычислений.
@@ -37,7 +37,7 @@ BH_Math - Математические функции
const float point[3],
float out[3]);
Вычисляет барицентрические координаты точки I<point> относительно треугольника,
Вычисляет барицентрические координаты точки I<point> относительно треугольника,
заданного точками I<a>, I<b>, I<c>.
Параметр I<out> описывает результирующий вектор.

View File

@@ -9,7 +9,7 @@ BH_Plane - Плоскость в пространстве
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh

View File

@@ -15,9 +15,9 @@ cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Данный модуль предоставляет набор функций для работы с кватернионами.
Кватернионы используются для представления вращений в трёхмерном пространстве и
обладают преимуществами перед другими методами, такими как матрицы вращения или
Данный модуль предоставляет набор функций для работы с кватернионами.
Кватернионы используются для представления вращений в трёхмерном пространстве и
обладают преимуществами перед другими методами, такими как матрицы вращения или
углы Эйлера, в части устойчивости к накоплению ошибок при многократных операциях
вращения.
@@ -98,7 +98,7 @@ float BH_Vec4fLength(const float in[4]);
#define BH_Quat4fLerp(a, b, t, out) \
BH_Vec4fLerp(a, b, t, out)
Выполняет линейную интерполяцию между двумя кватернионами I<a> и I<b> с
Выполняет линейную интерполяцию между двумя кватернионами I<a> и I<b> с
параметром I<t>.
Параметр I<out> описывает результирующий кватернион.

View File

@@ -9,7 +9,7 @@ BH_Queue - контейнер очереди
=head1 СИНТАКСИС
#include <BH/Queue.h>
cc prog.c -o prog -lbh
@@ -17,7 +17,7 @@ BH_Queue - контейнер очереди
Модуль BH_Queue предоставляет реализацию контейнера очереди, который позволяет
добавлять элементы в конец и извлекать их из начала. Очередь основана на
динамическом массиве, что обеспечивает эффективное использование памяти и
динамическом массиве, что обеспечивает эффективное использование памяти и
быстрый доступ к элементам.
@@ -50,7 +50,7 @@ BH_Queue - контейнер очереди
=head2 BH_QueueReserve
int BH_QueueReserve(BH_Queue *queue,
int BH_QueueReserve(BH_Queue *queue,
size_t size);
Резервирует место как минимум для I<size> элементов.
@@ -62,7 +62,7 @@ BH_Queue - контейнер очереди
=head2 BH_QueueInsert
int BH_QueueInsert(BH_Queue *queue,
int BH_QueueInsert(BH_Queue *queue,
void *value);
Вставляет элемент I<value>.
@@ -83,7 +83,7 @@ BH_Queue - контейнер очереди
=head2 BH_QueueFront
int BH_QueueFront(BH_Queue *queue,
int BH_QueueFront(BH_Queue *queue,
void **value);
Возвращает первый элемент очереди.

View File

@@ -9,14 +9,14 @@ BH_Ray2f, BH_Segment2f - Луч/сегмент на плоскости
=head1 СИНТАКСИС
#include <BH/Math/Ray2f.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Данный модуль предоставляет функции для работы с лучами и сегментами на
плоскости. Он включает в себя функции для проверки пересечений между лучами,
Данный модуль предоставляет функции для работы с лучами и сегментами на
плоскости. Он включает в себя функции для проверки пересечений между лучами,
сегментами, прямыми и ограничивающими прямоугольниками.

View File

@@ -9,15 +9,15 @@ BH_Ray3f, BH_Segment3f - луч/сегмент в пространстве
=head1 СИНТАКСИС
#include <BH/Math/Ray3f.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Данный модуль предоставляет функции для работы с лучами и сегментами в
трёхмерном пространстве. Он включает в себя методы для проверки пересечений
лучей и сегментов с плоскостями, треугольниками и ограничивающими
Данный модуль предоставляет функции для работы с лучами и сегментами в
трёхмерном пространстве. Он включает в себя методы для проверки пересечений
лучей и сегментов с плоскостями, треугольниками и ограничивающими
прямоугольниками.

View File

@@ -26,7 +26,7 @@ BH_String - Работа со строками
=over
=item *
=item *
Если префикс I<0b> - основние 2
@@ -61,7 +61,7 @@ BH_String - Работа со строками
Форматирует вещественное число I<value> в нуль-терминированную строку I<string>
(с ограничением по длинне I<size>).
Параметр I<format> задает формат преобразования числа в строку. Допустимые
Параметр I<format> задает формат преобразования числа в строку. Допустимые
форматы:
=over
@@ -81,8 +81,8 @@ BH_String - Работа со строками
=back
Параметр I<precision> задает точность преобразования числа в строку. Если
значение точности отрицательное, преобразование будет выполнено с минимально
необходимой точностью, чтобы при обратном преобразовании получилось исходное
значение точности отрицательное, преобразование будет выполнено с минимально
необходимой точностью, чтобы при обратном преобразовании получилось исходное
число.
Опциональный параметр I<actual> возвращает длину записанной строки.
@@ -101,7 +101,7 @@ BH_String - Работа со строками
size_t *actual);
Форматирует целое 8-битное знаковое число I<value> в нуль-терминированную строку
I<string> (с ограничением по длинне I<size>).
I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -118,8 +118,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 16-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 16-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -136,8 +136,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 32-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 32-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -154,8 +154,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 64-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 64-битное знаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -172,8 +172,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 8-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 8-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -190,8 +190,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 16-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 16-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -208,8 +208,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 32-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 32-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -226,8 +226,8 @@ I<string> (с ограничением по длинне I<size>).
int base,
size_t *actual);
Форматирует целое 64-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Форматирует целое 64-битное беззнаковое число I<value> в нуль-терминированную
строку I<string> (с ограничением по длинне I<size>).
Параметр I<base> задает основание для преобразования.
@@ -243,7 +243,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в вещественное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
В случае успеха, возвращает преобразованное число или 0.
@@ -256,7 +256,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое знаковое 8-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -271,7 +271,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое знаковое 16-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -286,7 +286,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое знаковое 32-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -301,7 +301,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое знаковое 64-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -316,7 +316,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое беззнаковое 8-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -331,7 +331,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое беззнаковое 16-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -346,7 +346,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое беззнаковое 32-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.
@@ -361,7 +361,7 @@ I<string> (с ограничением по длинне I<size>).
Преобразовывает строку I<string> в целое беззнаковое 64-битное число.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<size> возвращает число прочитанных символов из строки.
Опциональный параметр I<base> задает основание числа.

View File

@@ -9,7 +9,7 @@ BH_Thread - многопоточность и примитивы синхрон
=head1 СИНТАКСИС
#include <BH/Thread.h>
cc prog.c -o prog -lbh
@@ -188,7 +188,7 @@ I<timeout>.
int BH_ConditionWait(BH_Condition *condition,
BH_Mutex *mutex);
Блокирует исполнение текущего потока до тех пор, пока другой поток не
Блокирует исполнение текущего потока до тех пор, пока другой поток не
просигнализирует об изменении условия.
В некоторых ситуациях сигнал об изменении условия может быть ложным.
@@ -206,7 +206,7 @@ I<timeout>.
uint32_t timeout);
Пытается заблокировать исполнение текущего потока до тех пор, пока другой поток
не просигнализирует об изменении условия в пределах заданного времени
не просигнализирует об изменении условия в пределах заданного времени
I<timeout>.
В некоторых ситуациях сигнал об изменении условия может быть ложным.

View File

@@ -9,14 +9,14 @@ BH_Util - Вспомогательные функции
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Библиотека BH_Util предоставляет набор функций для работы с числами в форматах
little-endian и big-endian, а также для классификации значений с плавающей
Библиотека BH_Util предоставляет набор функций для работы с числами в форматах
little-endian и big-endian, а также для классификации значений с плавающей
точкой.
@@ -142,7 +142,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write16LEu
void BH_Write16LEu(char *buffer,
void BH_Write16LEu(char *buffer,
uint16_t value);
Записывает целое 16-битное беззнаковое little-endian число в буфер.
@@ -150,7 +150,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write16LEs
void BH_Write16LEs(char *buffer,
void BH_Write16LEs(char *buffer,
int16_t value);
Записывает целое 16-битное знаковое little-endian число в буфер.
@@ -158,7 +158,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write32LEu
void BH_Write32LEu(char *buffer,
void BH_Write32LEu(char *buffer,
uint32_t value);
Записывает целое 32-битное беззнаковое little-endian число в буфер.
@@ -166,7 +166,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write32LEs
void BH_Write32LEs(char *buffer,
void BH_Write32LEs(char *buffer,
int32_t value);
Записывает целое 32-битное знаковое little-endian число в буфер.
@@ -174,7 +174,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write64LEu
void BH_Write64LEu(char *buffer,
void BH_Write64LEu(char *buffer,
uint64_t value);
Записывает целое 64-битное беззнаковое little-endian число в буфер.
@@ -182,7 +182,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write64LEs
void BH_Write64LEs(char *buffer,
void BH_Write64LEs(char *buffer,
int64_t value);
Записывает целое 64-битное знаковое little-endian число в буфер.
@@ -190,7 +190,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write16BEu
void BH_Write16BEu(char *buffer,
void BH_Write16BEu(char *buffer,
uint16_t value);
Записывает целое 16-битное беззнаковое big-endian число в буфер.
@@ -198,7 +198,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write16BEs
void BH_Write16BEs(char *buffer,
void BH_Write16BEs(char *buffer,
int16_t value);
Записывает целое 16-битное знаковое big-endian число в буфер.
@@ -206,7 +206,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write32BEu
void BH_Write32BEu(char *buffer,
void BH_Write32BEu(char *buffer,
uint32_t value);
Записывает целое 32-битное беззнаковое big-endian число в буфер.
@@ -214,7 +214,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write32BEs
void BH_Write32BEs(char *buffer,
void BH_Write32BEs(char *buffer,
int32_t value);
Записывает целое 32-битное знаковое big-endian число в буфер.
@@ -222,7 +222,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write64BEu
void BH_Write64BEu(char *buffer,
void BH_Write64BEu(char *buffer,
uint64_t value);
Записывает целое 64-битное беззнаковое big-endian число в буфер.
@@ -230,7 +230,7 @@ little-endian и big-endian, а также для классификации з
=head2 BH_Write64BEs
void BH_Write64BEs(char *buffer,
void BH_Write64BEs(char *buffer,
int64_t value);
Записывает целое 64-битное знаковое big-endian число в буфер.

View File

@@ -9,13 +9,13 @@ BH_Vec2i - двухмерный целочисленный вектор
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Модуль BH_Vec2i предоставляет набор функций для работы с двухмерными
Модуль BH_Vec2i предоставляет набор функций для работы с двухмерными
целочисленными векторами.

View File

@@ -9,7 +9,7 @@ BH_Vec3i - трёхмерный целочисленный вектор
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh

View File

@@ -17,7 +17,7 @@ BH_Vec4f - четырёхмерный вещественный вектор
Модуль BH_Vec4f предоставляет набор функций для работы с четырёхмерными
векторами. Функции позволяют выполнять арифметические операции, нормализацию,
вычисление скалярного произведения и другие математические операции над
вычисление скалярного произведения и другие математические операции над
векторами.

View File

@@ -9,13 +9,13 @@ BH_Vec4i - четырёхмерный целочисленный вектор
=head1 СИНТАКСИС
#include <BH/Math.h>
cc prog.c -o prog -lbh
=head1 ОПИСАНИЕ
Модуль BH_Vec4i предоставляет набор функций для работы с четырёхмерными
Модуль BH_Vec4i предоставляет набор функций для работы с четырёхмерными
целочисленными векторами.