VEFontCache icon indicating copy to clipboard operation
VEFontCache copied to clipboard

DirectX Porting Demo

Open alihanpehlivan opened this issue 4 years ago • 3 comments

Currently demo is only with OpenGL... Are you planning to add any DirectX porting demo too?

alihanpehlivan avatar Jan 10 '21 12:01 alihanpehlivan

Sorry, no DX demos planned for now :) Would be happy to take one as contribution!

Not too much difference; one gotcha is that sample center is different vs openGL, so would need to offset by half a pixel.

hypernewbie avatar Jan 11 '21 04:01 hypernewbie

Thank you for your answer, I am planning to implement your library to my custom engine, will start working on it soon. Hopefully if everything goes well, I will definitely contribute :)

And also a small note, if you can add more explanatory comments both in library and demo piece of code it would be really helpful for other people too... Library and demo in it's current state is very hard to read and all code is very clamped it's almost like you did not want other programmers to read it easily :D. I had to use clang-format on the code to read it easily. My eyes almost bled.

Ref: Google C++ Style Guide

Cheers!

alihanpehlivan avatar Jan 11 '21 13:01 alihanpehlivan

haha agreed!

sorry yeah demo is hastily put together. I'll format that better!

hypernewbie avatar Jan 11 '21 22:01 hypernewbie