Skip to content

Having GLM_FORCE_DEPTH_ZERO_TO_ONE as seperate functions #680

@KarimIO

Description

@KarimIO

Hey there! Thanks for all the great work on GLM!

This is more of a suggestion than an issue. I'd like to be able to choose whether I use [0..1] or [-1..1] depth at runtime, as my engine uses different dynamic libraries for each of vulkan, directx, and opengl. Could there be seperate functions for it? Perhaps you could even wrap those in a new GLM_BOTH_DEPTH_METHODS define to provide both without adding more functions if that's an issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions