Started upgrading things to new state

This commit is contained in:
YourWishes committed 2023-02-27 23:36:03 -08:00
1 parent 099d9a15c3
commit 4dbd9c4521
19 files changed
+456 -495

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ struct ShaderPassItem SceneDebugLine::createShaderItem(
item.colorValues[shader->program.paramColor] = this->color;
item.matrixValues[shader->program.paramModel] = this->transform;
item.matrixValues[shader->program.paramView] = camera->transform->getWorldTransform();
item.matrixValues[shader->program.paramProjection] = camera->projection;
item.matrixValues[shader->program.paramProjection] = camera->getProjection();
item.boolValues[shader->program.paramHasTexture] = false;
auto i = *lineIndex;