Added CPP Check project
This commit is contained in:
@@ -15,6 +15,7 @@ int test_radialGradient()
|
||||
int Error = 0;
|
||||
|
||||
float Gradient = glm::radialGradient(glm::vec2(0), 1.0f, glm::vec2(1), glm::vec2(0.5));
|
||||
Error += Gradient != 0.0f ? 0 : 1;
|
||||
|
||||
return Error;
|
||||
}
|
||||
@@ -24,6 +25,7 @@ int test_linearGradient()
|
||||
int Error = 0;
|
||||
|
||||
float Gradient = glm::linearGradient(glm::vec2(0), glm::vec2(1), glm::vec2(0.5));
|
||||
Error += Gradient != 0.0f ? 0 : 1;
|
||||
|
||||
return Error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user