4.10 support:
- CORRECTPIXELSTRETCH where needed on models. - Replace CoordUtil.GetAxes with quaternion version.
This commit is contained in:
parent
46d7a67f3b
commit
e8b9a55378
36 changed files with 142 additions and 175 deletions
|
|
@ -64,4 +64,11 @@ Class dt_Utility
|
|||
{
|
||||
return (x+y*cos(angle)*spread+z*sin(angle)*spread).unit();
|
||||
}
|
||||
|
||||
static clearscope Vector3, Vector3, Vector3 GetAxes( double angle, double pitch, double roll )
|
||||
{
|
||||
Vector3 x = (1,0,0), y = (0,-1,0), z = (0,0,1);
|
||||
Quat r = Quat.FromAngles(angle,pitch,roll);
|
||||
return r*x, r*y, r*z;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue