core: add nearClippedProjectionMatrix to MLNCustomStyleLayer (#4364)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
This commit is contained in:
@@ -18,6 +18,7 @@ CustomLayerRenderParameters::CustomLayerRenderParameters(const mbgl::PaintParame
|
||||
mat4 projMatrix;
|
||||
state.getProjMatrix(projMatrix);
|
||||
projectionMatrix = projMatrix;
|
||||
nearClippedProjectionMatrix = paintParameters.transformParams.nearClippedProjMatrix;
|
||||
}
|
||||
|
||||
} // namespace style
|
||||
|
||||
Reference in New Issue
Block a user