From a10825c2ac5040f96f55c33bb9e56a5e590ea0f6 Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Wed, 26 Apr 2023 17:50:44 +0800 Subject: [PATCH] comment TODO re OpenGL tex coords --- lib/filament_widget.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/filament_widget.dart b/lib/filament_widget.dart index b601d8b4..ea8b42ef 100644 --- a/lib/filament_widget.dart +++ b/lib/filament_widget.dart @@ -118,7 +118,8 @@ class _FilamentWidgetState extends State { ? Container() : Transform( alignment: Alignment.center, - transform: Matrix4.rotationX(pi), + transform: Matrix4.rotationX( + pi), // TODO - this rotation is due to OpenGL texture coordinate working in a different space from Flutter, can we move this to the C++ side somewhere? child: texture) : texture)))); });