Показать сообщение отдельно
Непрочитано 08.05.2017, 07:17   #2
Аватар для PROGRAMMATOR
Администратор

По умолчанию Re: How to transform the received values of axes into float (UDP3)

This half float. SharpDX.Mathematics can be used for C#

var x = Read<ushort>();
var y = Read<ushort>();
var z = Read<ushort>();
 
Vector3 position = new Half3(x, y, z);
 
Code: C#
__________________
composer require laravel/framework
yarn add vue
PROGRAMMATOR вне форума Отправить сообщение для PROGRAMMATOR с помощью ICQ Отправить сообщение для PROGRAMMATOR с помощью Skype™ Ответить с цитированием
Сказали спасибо: