Searched refs:barycentric_coordinates (Results 1 – 2 of 2) sorted by relevance
244 …ellationShaderUtils::convertBarycentricCoordinatesToCartesian(const float* barycentric_coordinates, in convertBarycentricCoordinatesToCartesian() argument257 …out_cartesian_coordinates[0] = (float)((double)barycentric_coordinates[0] * (double)triangle_verte… in convertBarycentricCoordinatesToCartesian()258 (double)barycentric_coordinates[1] * (double)triangle_vertex2_cartesian[0] + in convertBarycentricCoordinatesToCartesian()259 (double)barycentric_coordinates[2] * (double)triangle_vertex3_cartesian[0]); in convertBarycentricCoordinatesToCartesian()260 out_cartesian_coordinates[1] = barycentric_coordinates[0] * triangle_vertex1_cartesian[1] + in convertBarycentricCoordinatesToCartesian()261 barycentric_coordinates[1] * triangle_vertex2_cartesian[1] + in convertBarycentricCoordinatesToCartesian()262 barycentric_coordinates[2] * triangle_vertex3_cartesian[1]; in convertBarycentricCoordinatesToCartesian()
267 static void convertBarycentricCoordinatesToCartesian(const float* barycentric_coordinates,