pick normal fix
This commit is contained in:
@@ -4054,7 +4054,7 @@ namespace wi::scene
|
||||
|
||||
if (distance < result.distance)
|
||||
{
|
||||
const XMVECTOR nor = XMVector3Normalize(XMVector3TransformNormal(XMVector3Cross(XMVectorSubtract(p2, p1), XMVectorSubtract(p1, p0)), objectMat));
|
||||
const XMVECTOR nor = XMVector3Normalize(XMVector3Cross(XMVectorSubtract(p2, p1), XMVectorSubtract(p1, p0)));
|
||||
|
||||
result.entity = entity;
|
||||
XMStoreFloat3(&result.position, pos);
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace wi::version
|
||||
// minor features, major updates, breaking compatibility changes
|
||||
const int minor = 60;
|
||||
// minor bug fixes, alterations, refactors, updates
|
||||
const int revision = 16;
|
||||
const int revision = 17;
|
||||
|
||||
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user