Try to understand what's wrong and fail
This commit is contained in:
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"files.exclude":{
|
||||
"**/.zig-cache": true,
|
||||
},
|
||||
}
|
||||
2
castle
2
castle
Submodule castle updated: 7e8103565d...e019470687
@@ -781,7 +781,7 @@ fn render(self: *Game) !void {
|
||||
const camera_xscale = camera_yscale / camera_aspect_ratio;
|
||||
|
||||
const matrix_ws_to_vs = vm.Matrix4x4.mulMatrixAffine(
|
||||
.initRotation(camera_rotation.inverseUnit()),
|
||||
.initRotation(camera_rotation), // TODO This is wrong - it should be correct when inverted
|
||||
.initTranslation(camera_position.negate()),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user