Mercurial > games > semicongine
diff tests/test_collision.nim @ 1137:a4aa9f374d44
did: more renaming
author | sam <sam@basx.dev> |
---|---|
date | Tue, 04 Jun 2024 20:51:22 +0700 |
parents | 71315636ba82 |
children | 02e1d2658ff5 |
line wrap: on
line diff
--- a/tests/test_collision.nim Tue Jun 04 16:51:50 2024 +0700 +++ b/tests/test_collision.nim Tue Jun 04 20:51:22 2024 +0700 @@ -17,13 +17,13 @@ shaderConfiguration = createShaderConfiguration( name = "default shader", inputs = [ - attr[Mat4]("transform", memoryPerformanceHint = PreferFastRead, perInstance = true), - attr[Vec3f]("position", memoryPerformanceHint = PreferFastRead), - attr[Vec4f]("color", memoryPerformanceHint = PreferFastRead), + Attr[Mat4]("transform", memoryPerformanceHint = PreferFastRead, perInstance = true), + Attr[Vec3f]("position", memoryPerformanceHint = PreferFastRead), + Attr[Vec4f]("color", memoryPerformanceHint = PreferFastRead), ], - intermediates = [attr[Vec4f]("colorout")], - uniforms = [attr[Mat4]("perspective")], - outputs = [attr[Vec4f]("fragcolor")], + intermediates = [Attr[Vec4f]("colorout")], + uniforms = [Attr[Mat4]("perspective")], + outputs = [Attr[Vec4f]("fragcolor")], vertexCode = """gl_Position = vec4(position, 1.0) * (transform * Uniforms.perspective); colorout = color;""", fragmentCode = """fragcolor = colorout;""", )