From 1a08a263884af2a9fba44107fcddbc70f336b02b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 13 Sep 2022 13:24:44 +1000 Subject: Cleanup: spelling in comments --- source/blender/io/wavefront_obj/importer/obj_import_mtl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/io/wavefront_obj/importer') diff --git a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc index 76568b2ddb4..2819fe9efc8 100644 --- a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc +++ b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc @@ -257,7 +257,7 @@ static void set_bsdf_socket_values(bNode *bsdf, Material *mat, const MTLMaterial float clamped_ns = std::max(0.0f, std::min(1000.0f, mtl_mat.spec_exponent)); roughness = 1.0f - sqrt(clamped_ns / 1000.0f); } - /* Metallic: average of Ka components. */ + /* Metallic: average of `Ka` components. */ float metallic = (mtl_mat.ambient_color[0] + mtl_mat.ambient_color[1] + mtl_mat.ambient_color[2]) / 3; -- cgit v1.2.3