mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:53:01 +02:00
Fix for XCode auto indent
This commit is contained in:
parent
6f85ee135f
commit
3f90312375
1 changed files with 2 additions and 1 deletions
|
@ -72,11 +72,12 @@ const gpu::TexturePointer& TextureCache::getPermutationNormalTexture() {
|
||||||
data[3*i+0] = permutation[i];
|
data[3*i+0] = permutation[i];
|
||||||
data[3*i+1] = permutation[i];
|
data[3*i+1] = permutation[i];
|
||||||
data[3*i+2] = permutation[i];
|
data[3*i+2] = permutation[i];
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
for (int i = 0; i < 256 * 3; i++) {
|
for (int i = 0; i < 256 * 3; i++) {
|
||||||
data[i] = rand() % 256;
|
data[i] = rand() % 256;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (int i = 256 * 3; i < 256 * 3 * 2; i += 3) {
|
for (int i = 256 * 3; i < 256 * 3 * 2; i += 3) {
|
||||||
glm::vec3 randvec = glm::sphericalRand(1.0f);
|
glm::vec3 randvec = glm::sphericalRand(1.0f);
|
||||||
|
|
Loading…
Reference in a new issue