I'm trying to lea graphics programming. Currently, I'm trying to make my camera look at the world origin at (0, 0, 0), but I can't understand why this operation is inverted for the camera. For example, if I have a camera at (0, 0, -5), it tries to look at (0, 5, 0). Instead of looking at the desired position, the camera looks at the inverted position at (0, -5, 0).
Here's the code implementation for the context:
برچسب:
نویسنده: استخدام کار