Searched refs:traceRoot (Results 1 – 1 of 1) sorted by relevance
134 float traceRoot = (float) sqrt(trace + 1); // |traceRoot|>=1 ... in fromMatrix() local135 w = 0.5f * traceRoot; in fromMatrix()136 traceRoot = 0.5f / traceRoot; // so this division isn't bad in fromMatrix()137 x = (matrix.data[6] - matrix.data[9]) * traceRoot; in fromMatrix()138 y = (matrix.data[8] - matrix.data[2]) * traceRoot; in fromMatrix()139 z = (matrix.data[1] - matrix.data[4]) * traceRoot; in fromMatrix()142 float traceRoot = in fromMatrix() local145 x = traceRoot * 0.5f; // |x| >= .5 in fromMatrix()146 traceRoot = 0.5f / traceRoot; in fromMatrix()147 y = (matrix.data[1] + matrix.data[4]) * traceRoot; in fromMatrix()[all …]