comment TODO re OpenGL tex coords

This commit is contained in:
Nick Fisher
2023-04-26 17:50:44 +08:00
parent 6641403187
commit a10825c2ac

View File

@@ -118,7 +118,8 @@ class _FilamentWidgetState extends State<FilamentWidget> {
? 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))));
});