Updated noise extension API

This commit is contained in:
Christophe Riccio
2011-04-28 11:26:18 +01:00
parent b80a6bb251
commit 7fad31404d
3 changed files with 18 additions and 14 deletions

View File

@@ -20,4 +20,8 @@ int main()
float ValueCNoise2D = glm::cnoise(glm::vec2(0.5f));
float ValueCNoise3D = glm::cnoise(glm::vec3(0.5f));
float ValueCNoise4D = glm::cnoise(glm::vec4(0.5f));
float ValuePNoise2D = glm::pnoise(glm::vec2(0.5f), glm::vec2(0.5f));
float ValuePNoise3D = glm::pnoise(glm::vec3(0.5f), glm::vec3(0.5f));
float ValuePNoise4D = glm::pnoise(glm::vec4(0.5f), glm::vec4(0.5f));
}