chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
@@ -0,0 +1,37 @@
//
// RNGHStylusData.m
// DoubleConversion
//
// Created by Michał Bert on 18/09/2024.
//
#import "RNGHStylusData.h"
#import <Foundation/Foundation.h>
@implementation RNGHStylusData
- (instancetype)init
{
if (self = [super init]) {
self.tiltX = 0;
self.tiltY = 0;
self.altitudeAngle = M_PI_2;
self.azimuthAngle = 0;
self.pressure = 0;
}
return self;
}
- (NSDictionary *)toDictionary
{
return @{
@"tiltX" : @(_tiltX),
@"tiltY" : @(_tiltY),
@"altitudeAngle" : @(_altitudeAngle),
@"azimuthAngle" : @(_azimuthAngle),
@"pressure" : @(_pressure),
};
}
@end