-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support building on Windows with vcpkg
- Loading branch information
xvrc
committed
Jul 13, 2021
1 parent
98aa335
commit 9cca556
Showing
59 changed files
with
10,408 additions
and
953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,9 @@ CMakeLists.txt.user* | |
*.suo | ||
*.user | ||
|
||
#-- vs & vscode | ||
.vs* | ||
|
||
*.lnk | ||
StuntRally*.* | ||
SR?Editor*.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#version 130 | ||
|
||
precision highp int; | ||
precision highp float; | ||
|
||
uniform sampler2D sampleTexture; | ||
|
||
in vec4 outUV0; | ||
in vec4 outColor; | ||
|
||
out vec4 fragColor; | ||
|
||
// Texturing fragment program for GLSL | ||
void main() | ||
{ | ||
fragColor = outColor * texture(sampleTexture, outUV0.xy); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#version 100 | ||
|
||
precision highp int; | ||
precision highp float; | ||
|
||
uniform sampler2D sampleTexture; | ||
|
||
varying vec4 outUV0; | ||
varying vec4 outColor; | ||
|
||
// Texturing fragment program for GLSL ES | ||
void main() | ||
{ | ||
gl_FragColor = outColor * texture2D(sampleTexture, outUV0.xy); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
void main( | ||
uniform sampler2D sampleTexture : register(s0), | ||
in float4 inPosition : POSITION, | ||
in float4 inColor : TEXCOORD0, | ||
in float2 inTexcoord : TEXCOORD1, | ||
out float4 Out : COLOR ) | ||
{ | ||
Out = tex2D(sampleTexture, inTexcoord) * inColor; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#version 130 | ||
|
||
precision highp int; | ||
precision highp float; | ||
|
||
in vec4 position; | ||
in vec4 uv0; | ||
in vec4 colour; | ||
uniform mat4 worldViewProj; | ||
|
||
out vec4 outUV0; | ||
out vec4 outColor; | ||
|
||
// Texturing vertex program for GLSL | ||
void main() | ||
{ | ||
gl_Position = worldViewProj * position; | ||
outUV0 = uv0; | ||
outColor = colour; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#version 100 | ||
|
||
precision highp int; | ||
precision highp float; | ||
|
||
attribute vec4 position; | ||
attribute vec4 uv0; | ||
attribute vec4 colour; | ||
uniform mat4 worldViewProj; | ||
|
||
varying vec4 outUV0; | ||
varying vec4 outColor; | ||
|
||
// Texturing vertex program for GLSL ES | ||
void main() | ||
{ | ||
gl_Position = worldViewProj * position; | ||
outUV0 = uv0; | ||
outColor = colour; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
void main( | ||
in float4 inPosition : POSITION0, | ||
in float4 inColor : COLOR0, | ||
in float2 inTexcoord : TEXCOORD0, | ||
uniform float4x4 worldViewProj, | ||
out float4 outPosition : SV_POSITION, | ||
out float4 outColor : TEXCOORD0, | ||
out float2 outTexcoord : TEXCOORD1 ) | ||
{ | ||
outPosition = mul(worldViewProj, inPosition); | ||
outColor = inColor; | ||
outTexcoord = inTexcoord; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
add_library(BulletFileLoader STATIC | ||
bChunk.cpp | ||
bChunk.h | ||
bCommon.h | ||
bDefines.h | ||
bDNA.cpp | ||
bDNA.h | ||
bFile.cpp | ||
bFile.h | ||
btBulletFile.cpp | ||
btBulletFile.h) | ||
|
||
target_include_directories(BulletFileLoader PRIVATE ${BULLET_INCLUDE_DIRS}) | ||
target_link_libraries(BulletFileLoader PRIVATE ${BULLET_LIBRARIES}) | ||
target_include_directories(BulletFileLoader PUBLIC ./) |
Oops, something went wrong.