From 842407af3c1a900df112437ebfae0892738c1395 Mon Sep 17 00:00:00 2001 From: Benjamin Devine Date: Tue, 20 Feb 2018 19:41:58 +0100 Subject: [PATCH] Add constants for texture wrapping --- ios/RCTARKitManager.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/RCTARKitManager.m b/ios/RCTARKitManager.m index f1f25c5..a5ff7d8 100644 --- a/ios/RCTARKitManager.m +++ b/ios/RCTARKitManager.m @@ -97,6 +97,11 @@ - (NSDictionary *)constantsToExport @"FillMode": @{ @"Fill": [@(SCNFillModeFill) stringValue], @"Lines": [@(SCNFillModeLines) stringValue], + }, + @"WrapMode": @{ + @"Clamp": [@(SCNWrapModeClamp) stringValue], + @"Repeat": [@(SCNWrapModeRepeat) stringValue], + @"Mirror": [@(SCNWrapModeMirror) stringValue], } }; }