Cleanup: strip trailing space for cycles
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
|
||||
/*
|
||||
* Adapted from code with license:
|
||||
*
|
||||
*
|
||||
* Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
|
||||
* Digital Ltd. LLC. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
@@ -31,8 +31,8 @@
|
||||
* distribution.
|
||||
* * Neither the name of Industrial Light & Magic nor the names of its
|
||||
* contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
@@ -236,7 +236,7 @@ static void transform_decompose(DecomposedTransform *decomp, const Transform *tf
|
||||
for(int i = 0; i < 3; i++)
|
||||
for(int j = 0; j < 4; j++)
|
||||
Rnext[i][j] = 0.5f * (R[i][j] + Rit[i][j]);
|
||||
|
||||
|
||||
norm = 0.0f;
|
||||
for(int i = 0; i < 3; i++) {
|
||||
norm = max(norm,
|
||||
|
||||
Reference in New Issue
Block a user