Skip to content
Snippets Groups Projects
Commit 32c4d79c authored by Alexy Pellegrini's avatar Alexy Pellegrini
Browse files

Remove .f suffix to default values to fix Python wrapping mecanism

parent d99b02df
No related branches found
No related tags found
No related merge requests found
......@@ -336,8 +336,8 @@ public:
* \p action to emit vibration on \p hand to emit on \p amplitude 0.0 to 1.0.
* \p duration nanoseconds, default 25ms \p frequency (hz)
*/
bool ApplyVibration(const Action_t& actionT, int hand, float amplitude = 0.5f,
float duration = 25000000.0f, float frequency = XR_FREQUENCY_UNSPECIFIED);
bool ApplyVibration(const Action_t& actionT, int hand, float amplitude = 0.5,
float duration = 25000000.0, float frequency = XR_FREQUENCY_UNSPECIFIED);
enum ControllerIndex
{
......
......@@ -76,8 +76,8 @@ public:
* \p action to emit vibration on \p hand to emit on \p amplitude 0.0 to 1.0.
* \p duration nanoseconds, default 25ms \p frequency (hz)
*/
bool ApplyVibration(const std::string& actionName, int hand, float amplitude = 0.5f,
float duration = 25000000.0f, float frequency = XR_FREQUENCY_UNSPECIFIED);
bool ApplyVibration(const std::string& actionName, int hand, float amplitude = 0.5,
float duration = 25000000.0, float frequency = XR_FREQUENCY_UNSPECIFIED);
protected:
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment