Merge pull request #629 from null77/fix-unicode
Change unicode dash to ASCII.
This commit is contained in:
commit
dca93d6baa
1 changed files with 7 additions and 7 deletions
|
|
@ -841,7 +841,7 @@ TIntermTyped* TIntermediate::fold(TIntermAggregate* aggrNode)
|
||||||
newConstArray[2] = childConstUnions[0][0] * childConstUnions[1][1] - childConstUnions[0][1] * childConstUnions[1][0];
|
newConstArray[2] = childConstUnions[0][0] * childConstUnions[1][1] - childConstUnions[0][1] * childConstUnions[1][0];
|
||||||
break;
|
break;
|
||||||
case EOpFaceForward:
|
case EOpFaceForward:
|
||||||
// If dot(Nref, I) < 0 return N, otherwise return –N: Arguments are (N, I, Nref).
|
// If dot(Nref, I) < 0 return N, otherwise return -N: Arguments are (N, I, Nref).
|
||||||
dot = childConstUnions[1].dot(childConstUnions[2]);
|
dot = childConstUnions[1].dot(childConstUnions[2]);
|
||||||
for (int comp = 0; comp < numComps; ++comp) {
|
for (int comp = 0; comp < numComps; ++comp) {
|
||||||
if (dot < 0.0)
|
if (dot < 0.0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue