reverse Hz change because I’ve got some other stuff in there

This commit is contained in:
Philip Rosedale 2013-12-05 16:03:06 -08:00
parent 006472cb24
commit a1027b7dda

View file

@ -126,12 +126,12 @@ void Hand::simulate(float deltaTime, bool isMine) {
} }
} }
} }
} }
void Hand::handleVoxelCollision(PalmData* palm, const glm::vec3& fingerTipPosition, VoxelTreeElement* voxel, float deltaTime) { void Hand::handleVoxelCollision(PalmData* palm, const glm::vec3& fingerTipPosition, VoxelTreeElement* voxel, float deltaTime) {
// Collision between finger and a voxel plays sound // Collision between finger and a voxel plays sound
const float LOWEST_FREQUENCY = 100.f; const float LOWEST_FREQUENCY = 100.f;
const float HERTZ_PER_RGB = 2.f; const float HERTZ_PER_RGB = 3.f;
const float DECAY_PER_SAMPLE = 0.0005f; const float DECAY_PER_SAMPLE = 0.0005f;
const float DURATION_MAX = 2.0f; const float DURATION_MAX = 2.0f;
const float MIN_VOLUME = 0.1f; const float MIN_VOLUME = 0.1f;