зеркало из https://github.com/mozilla/gecko-dev.git
Bug 832788. Part 3: AudioListener DopplerFactor/SpeedOfSound should take float per WebIDL. r=ehsan
--HG-- extra : rebase_source : d435b1678b09075cecf75e8da64364ec62964d00
This commit is contained in:
Родитель
cb6d196d28
Коммит
030c7cbf38
|
@ -40,20 +40,20 @@ public:
|
|||
virtual JSObject* WrapObject(JSContext* aCx, JSObject* aScope,
|
||||
bool* aTriedToWrap);
|
||||
|
||||
double DopplerFactor() const
|
||||
float DopplerFactor() const
|
||||
{
|
||||
return mDopplerFactor;
|
||||
}
|
||||
void SetDopplerFactor(double aDopplerFactor)
|
||||
void SetDopplerFactor(float aDopplerFactor)
|
||||
{
|
||||
mDopplerFactor = aDopplerFactor;
|
||||
}
|
||||
|
||||
double SpeedOfSound() const
|
||||
float SpeedOfSound() const
|
||||
{
|
||||
return mSpeedOfSound;
|
||||
}
|
||||
void SetSpeedOfSound(double aSpeedOfSound)
|
||||
void SetSpeedOfSound(float aSpeedOfSound)
|
||||
{
|
||||
mSpeedOfSound = aSpeedOfSound;
|
||||
}
|
||||
|
@ -89,8 +89,8 @@ private:
|
|||
ThreeDPoint mOrientation;
|
||||
ThreeDPoint mUpVector;
|
||||
ThreeDPoint mVelocity;
|
||||
double mDopplerFactor;
|
||||
double mSpeedOfSound;
|
||||
float mDopplerFactor;
|
||||
float mSpeedOfSound;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче