Push ZScript version to 3.8 and adapt accordingly to level global removal.
This isn't guaranteed to be 100% stable at the moment.
This commit is contained in:
parent
793fc320f4
commit
e3cf50b32c
16 changed files with 72 additions and 69 deletions
|
|
@ -9,7 +9,7 @@ Class dt_CoordUtil
|
|||
{
|
||||
// projects a world point onto screen
|
||||
// view matrix setup mostly pulled from gutawer's code
|
||||
static Vector3 WorldToScreen( Vector3 vect, Vector3 eye, double pitch, double yaw, double roll, double vfov )
|
||||
static Vector3 WorldToScreen( LevelLocals level, Vector3 vect, Vector3 eye, double pitch, double yaw, double roll, double vfov )
|
||||
{
|
||||
double ar = Screen.getWidth()/double(Screen.getHeight());
|
||||
double fovr = (ar>=1.3)?1.333333:ar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue