light
Member
|
World To Screen
Hello,
I got sick of using Unity (pipeline crap and more stuff that is just annoying) so Im trying differents engines right now, and I really like Esenthel so far.
there is just one thing there I cant find a solution to it in the samples/docu.
Its about World To Screen, does someone know if there is a command for that?
or any other method in Esenthel to calculate vec2 screen from 3D vectors?
I mean i can code my own W2S with the viewMatrix, but it would be nice if Esenthel has a build-in command for that
thanks for any help!
BR
light
(This post was last modified: 12-01-2021 11:22 AM by light.)
|
|
12-01-2021 11:21 AM |
|
Esenthel
Administrator
|
|
12-01-2021 11:48 AM |
|
light
Member
|
RE: World To Screen
(12-01-2021 11:48 AM)Esenthel Wrote: Hi and welcome
Hope this can help you:
https://github.com/Esenthel/EsenthelEngi...mera.h#L78
PosToScreen
Hi,
oh its a global function *shy*
I was always looking inside the cam member methods,and I really should have taken a look inside the Camera.h
perfect, thank you every much for this quick response!
|
|
12-01-2021 11:52 AM |
|