Started upgrading things to new state

This commit is contained in:
2023-02-27 23:36:03 -08:00
parent fc34ae94ff
commit 8e04742d5a
19 changed files with 456 additions and 495 deletions

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;