From 4ea3f7476d4914503b057c4f3517be8b197a1710 Mon Sep 17 00:00:00 2001 From: feelamee <106318766+feelamee@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:03:50 +0000 Subject: [PATCH] Fix typo in Camera doc comment --- filament/include/filament/Camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filament/include/filament/Camera.h b/filament/include/filament/Camera.h index 74f34af0fec6..91d51377f5c2 100644 --- a/filament/include/filament/Camera.h +++ b/filament/include/filament/Camera.h @@ -61,7 +61,7 @@ namespace filament { * filament::Camera* myCamera = engine->createCamera(myCameraEntity); * myCamera->setProjection(45, 16.0/9.0, 0.1, 1.0); * myCamera->lookAt({0, 1.60, 1}, {0, 0, 0}); - * engine->destroyCameraComponent(myCamera); + * engine->destroyCameraComponent(myCameraEntity); * ~~~~~~~~~~~ * *