Skip to content

Commit 27cd617

Browse files
committed
Update docs
1 parent 3bd2412 commit 27cd617

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

Library/README.RU.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ t0, t1, t2, t3, t4, t5, qW, qX, qY, qZ - double.
1818
>qX = t0 * t3 * t4 - t1 * t2 * t5;<br>
1919
>qY = t0 * t2 * t5 + t1 * t3 * t4;<br>
2020
>qZ = t1 * t2 * t4 - t0 * t3 * t5;<br>
21-
21+
qW, qX, qY, qZ - кватернион.<br>
2222
2323
**GetControllersData** - Получение данных (кнопки, стики, триггеры) о VR контроллере. В случае удачного получения возвращает 1, иначе 0.
2424

@@ -47,6 +47,10 @@ t0, t1, t2, t3, t4, t5, qW, qX, qY, qZ - double.
4747
Параметр **"Scale"** отвечает за маштабирование изображения. Если параметр имеет значение "True", то изображение с длинной "UserWidth" и высотой "UserHeight" растягивается на весь дисплей "ScreenIndex".
4848
Если параметр имеет значение "False", то изображение не маштабируется и отображается в центре окна, пустые области окна имеют черный фон. Параметр необходим для устранения слепых зон в VR шлеме.
4949

50+
51+
Параметр **FOV** отвечает за поле зрения, видимое глазом.
52+
53+
5054
Параметры **"UserWidth"** и **"UserHeight"** отвечают за размеры изображения в окне. По умолчанию это размер дисплея "ScreenIndex", однако пользователь может его изменить, чтобы устранить слепые зоны.
5155

5256

@@ -55,6 +59,8 @@ t0, t1, t2, t3, t4, t5, qW, qX, qY, qZ - double.
5559

5660
Параметр **"Library"** отвечает за путь к основной библиотеке с функциями, которую нужно подгружать для получения данных.
5761

62+
5863
Параметр **"Drivers"** отвечает за путь к папке с драйверами.
5964

65+
6066
Параметр **"Driver"** отвечает за название текущего драйвера.

Library/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ t0, t1, t2, t3, t4, t5, qW, qX, qY, qZ - double.
1818
>qX = t0 * t3 * t4 - t1 * t2 * t5;<br>
1919
>qY = t0 * t2 * t5 + t1 * t3 * t4;<br>
2020
>qZ = t1 * t2 * t4 - t0 * t3 * t5;<br>
21-
21+
qW, qX, qY, qZ - quaternion.<br>
2222
2323
**GetControllersData** - Receiving data (buttons, sticks, triggers) about the VR controller. In case of successful reception, returns 1, otherwise 0.
2424

@@ -48,6 +48,9 @@ The **"Scale"** parameter is responsible for scaling the image. If the parameter
4848
If the parameter is set to "False", the image is not scaled and displayed in the center of the window, empty areas of the window have a black background. The parameter is necessary to eliminate blind areas in the VR headset.
4949

5050

51+
The **"FOV"** parameter is responsible for the field of vision seen by the eye.
52+
53+
5154
The **"UserWidth"** and **"UserHeight"** parameters are responsible for the size of the image in the window. By default, this is the size of the "ScreenIndex" display, but the user can change it to eliminate blind areas.
5255

5356

@@ -56,6 +59,8 @@ The **"RenderWidth"** and **"RenderHeight"** parameters are responsible for reso
5659

5760
The **"Library"** parameter is responsible for the path to the main library with the functions that you need to load to retrieve data.
5861

62+
5963
The **"Drivers"** parameter is responsible for the path to the folder with the drivers.
6064

65+
6166
The **"Driver"** parameter is responsible for the name of the current driver.

0 commit comments

Comments
 (0)