Fix crash when setting graph options to very large numbers (#904)
* fix crash * Fixes * Update build/pipelines/templates/build-app-internal.yaml Co-Authored-By: Stephanie Anderl <46726333+sanderl@users.noreply.github.com> Co-authored-by: Stephanie Anderl <46726333+sanderl@users.noreply.github.com>
This commit is contained in:
committed by
Stephanie Anderl
parent
c3414ea9c9
commit
9329af37f1
@@ -38,19 +38,25 @@ namespace MockGraphingImpl
|
||||
}
|
||||
|
||||
virtual HRESULT GetClosePointData(
|
||||
float inScreenPointX,
|
||||
float inScreenPointY,
|
||||
double inScreenPointX,
|
||||
double inScreenPointY,
|
||||
int& formulaIdOut,
|
||||
float& xScreenPointOut,
|
||||
float& yScreenPointOut,
|
||||
float& xValueOut,
|
||||
float& yValueOut)
|
||||
double& xValueOut,
|
||||
double& yValueOut,
|
||||
double& rhoValueOut,
|
||||
double& thetaValueOut,
|
||||
double& tValueOut)
|
||||
{
|
||||
formulaIdOut = 0;
|
||||
xScreenPointOut = 0;
|
||||
yScreenPointOut = 0;
|
||||
xValueOut = 0;
|
||||
yValueOut = 0;
|
||||
rhoValueOut = 0;
|
||||
thetaValueOut = 0;
|
||||
tValueOut = 0;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user