Skip to content

Commit 313ccb6

Browse files
committed
Update CVector.h
1 parent 64f1724 commit 313ccb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/sdk/CVector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class CVector
186186
{
187187
*outVec = *this + vecRay * t;
188188
if (outHitBary) { // Calculate all barycentric coords if necessary
189-
*outHitBary = { 1.f - u - v, u, v }; // For vertices A, B, C [I assume?]
189+
*outHitBary = CVector( 1.f - u - v, u, v ); // For vertices A, B, C [I assume?]
190190
}
191191
return true;
192192
}

0 commit comments

Comments
 (0)