head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.11.08.16.15.19; author ryoon; state Exp; branches; next ; commitid ZLJvun5VhZ31WF2H; desc @@ 1.1 log @graphics/blender52-lts: import blender-5.2.3 Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline - modeling, rigging, animation, simulation, rendering, compositing and motion tracking, video editing and 2D animation pipeline. This package tracks 5.2 LTS release branch. @ text @$NetBSD$ --- source/blender/gpu/intern/gpu_matrix.cc.orig 2026-09-13 20:48:26.644315359 +0000 +++ source/blender/gpu/intern/gpu_matrix.cc @@@@ -104,7 +104,7 @@@@ static void checkmat(cosnt float *m) # if _MSC_VER BLI_assert(_finite(m[i])); # else - BLI_assert(!isinf(m[i])); + BLI_assert(!std::isinf(m[i])); # endif } } @@@@ -529,7 +529,7 @@@@ bool GPU_matrix_unproject_3fv(const float win[3], const bool is_persp = proj[3][3] == 0.0f; if (is_persp) { out[2] = proj[3][2] / (proj[2][2] + in[2]); - if (isinf(out[2])) { + if (std::isinf(out[2])) { out[2] = FLT_MAX; } out[0] = out[2] * ((proj[2][0] + in[0]) / proj[0][0]); @