From a38a6708789f863a44b9317c90aa0077f6d21ea3 Mon Sep 17 00:00:00 2001 From: Nick Lockwood Date: Sun, 28 Jan 2024 15:18:18 +0000 Subject: [PATCH] Fix transform not applied to Mesh created from ModelEntity --- Sources/Euclid+RealityKit.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Euclid+RealityKit.swift b/Sources/Euclid+RealityKit.swift index da9e764d..73ae0c3f 100644 --- a/Sources/Euclid+RealityKit.swift +++ b/Sources/Euclid+RealityKit.swift @@ -466,6 +466,7 @@ public extension Mesh { return } self.init(model, materialLookup: materialLookup) + transform(by: .init(modelEntity.transform)) } }