SpaghettiKart
Loading...
Searching...
No Matches
IRotator Struct Reference

#include <CoreMath.h>

Collaboration diagram for IRotator:
[legend]

Data Fields

uint16_t pitch
 
uint16_t yaw
 
uint16_t roll
 

Detailed Description

This struct immediately converts float pitch/yaw/roll in degrees to n64 int16_t binary angles 0-0xFFFF == 0-360 degrees ToDegrees() Receive an FRotator of float degrees back. Set() to update an IRotator using n64 int16_t binary angles 0-0xFFFF (ex. IRotator.Set(0, 0x4000, 0) for Y 90 degrees)

Field Documentation

◆ pitch

uint16_t IRotator::pitch

◆ roll

uint16_t IRotator::roll

◆ yaw

uint16_t IRotator::yaw

The documentation for this struct was generated from the following file: