Skip to content

Commit ff42165

Browse files
author
kevyuu
committed
Remove inline specifier for function that is defined in cpp
1 parent 4dbcbeb commit ff42165

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/nbl/asset/utils/CPolygonGeometryManipulator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ class NBL_API2 CPolygonGeometryManipulator
231231
EEM_COUNT
232232
};
233233

234-
static inline core::smart_refctd_ptr<ICPUPolygonGeometry> createUnweldedList(const ICPUPolygonGeometry* inGeo);
234+
static core::smart_refctd_ptr<ICPUPolygonGeometry> createUnweldedList(const ICPUPolygonGeometry* inGeo);
235235

236236
using SSNGVxCmpFunction = CSmoothNormalGenerator::VxCmpFunction;
237-
static inline core::smart_refctd_ptr<ICPUPolygonGeometry> createSmoothVertexNormal(const ICPUPolygonGeometry* inbuffer, bool enableWelding = false, float epsilon = 1.525e-5f,
237+
static core::smart_refctd_ptr<ICPUPolygonGeometry> createSmoothVertexNormal(const ICPUPolygonGeometry* inbuffer, bool enableWelding = false, float epsilon = 1.525e-5f,
238238
SSNGVxCmpFunction vxcmp = [](const CSmoothNormalGenerator::SSNGVertexData& v0, const CSmoothNormalGenerator::SSNGVertexData& v1, const ICPUPolygonGeometry* buffer)
239239
{
240-
static constexpr float cosOf45Deg = 0.70710678118f;
240+
constexpr float cosOf45Deg = 0.70710678118f;
241241
return dot(normalize(v0.weightedNormal),normalize(v1.weightedNormal)) > cosOf45Deg;
242242
});
243243

0 commit comments

Comments
 (0)