Minor fixes for example inputs
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
float transform_x(float x)
|
||||
{
|
||||
float fx;
|
||||
|
||||
fx = x;
|
||||
|
||||
return (-2.0) + ((1.0) - (-2.0)) * (fx / 80.0);
|
||||
}
|
||||
|
||||
float transform_y(float y)
|
||||
{
|
||||
float fy;
|
||||
|
||||
fy = y;
|
||||
|
||||
return ((1.0) - ((1.0) - (-1.0)) * (fy / 50.0)) * 2.0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user