rename raylib dir to render
This commit is contained in:
1 parent
4ce7b4a10c
commit
0010ef00a6
5 files changed
+8
-8
No files matched your search
+4
-4
@@ -1,4 +1,4 @@
|
||||
let RAYLIB_SHADER_MAIN_FS = """
|
||||
let RENDER_SHADER_MAIN_FS = """
|
||||
#version 150
|
||||
|
||||
in vec3 vWorldPos;
|
||||
@@ -93,7 +93,7 @@ void main()
|
||||
}
|
||||
"""
|
||||
|
||||
let RAYLIB_SHADER_MAIN_VS = """
|
||||
let RENDER_SHADER_MAIN_VS = """
|
||||
#version 150
|
||||
in vec3 vertexPosition;
|
||||
in vec2 vertexTexCoord;
|
||||
@@ -119,7 +119,7 @@ void main()
|
||||
}
|
||||
"""
|
||||
|
||||
let RAYLIB_SHADER_SHADOW_FS = """
|
||||
let RENDER_SHADER_SHADOW_FS = """
|
||||
#version 150
|
||||
out vec4 finalColor;
|
||||
void main()
|
||||
@@ -128,7 +128,7 @@ void main()
|
||||
}
|
||||
"""
|
||||
|
||||
let RAYLIB_SHADER_SHADOW_VS = """
|
||||
let RENDER_SHADER_SHADOW_VS = """
|
||||
#version 150
|
||||
in vec3 vertexPosition;
|
||||
uniform mat4 mvp;
|
||||
@@ -58,8 +58,8 @@ final class RaylibGLNSView: NSOpenGLView {
|
||||
|
||||
updatePixelSize()
|
||||
sr_init(pixelWidth, pixelHeight,
|
||||
RAYLIB_SHADER_MAIN_VS, RAYLIB_SHADER_MAIN_FS,
|
||||
RAYLIB_SHADER_SHADOW_VS, RAYLIB_SHADER_SHADOW_FS)
|
||||
RENDER_SHADER_MAIN_VS, RENDER_SHADER_MAIN_FS,
|
||||
RENDER_SHADER_SHADOW_VS, RENDER_SHADER_SHADOW_FS)
|
||||
loadModel()
|
||||
startTime = CACurrentMediaTime()
|
||||
ready = true
|
||||
|
||||
Reference in new issue
Block a user