Skip to content

Conversation

@bethau
Copy link
Contributor

@bethau bethau commented Jul 21, 2020

No description provided.

@Ingrater
Copy link
Contributor

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

template <typename Type>
bool ezQuatTemplate<Type>::IsEqualRotation(const ezQuatTemplate<Type>& qOther, float fEpsilon) const
{
if (v.IsEqual(qOther.v, 0.00001f) && ezMath::IsEqual(w, qOther.w, 0.00001f))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use fEpsilon instead of hardcoded value here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fEpsilon is used to compare the angle between the two quaternions. The first if however just checks if the quaternions are the same. Thus a different epsilon value.

@Ingrater Ingrater merged commit 7ce491e into ezEngine:dev Jul 22, 2020
@jankrassnigg jankrassnigg added this to the Next Release milestone Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants