lighthouse2 icon indicating copy to clipboard operation
lighthouse2 copied to clipboard

A small bug in the pbrtdemoapp.

Open zheng95z opened this issue 5 years ago • 0 comments

https://github.com/jbikker/lighthouse2/blob/a046e58b7d281885977c5e096c409926ebda829c/apps/pbrtdemoapp/main.cpp#L189-L190

I think this should be:

float3 camPos = renderer->GetCamera()->transform.GetTranslation();
float3 camDir = renderer->GetCamera()->transform.GetForward();

zheng95z avatar Apr 22 '20 05:04 zheng95z