fg_yscreen()

Win32 DirectX Fastgraph/Light

Prototype

int fg_yscreen (double y);

Function fg_yscreen (ByVal y As Double) As Long

function fg_yscreen (y : real) : integer;

Description

The fg_yscreen() function translates a 2D world space y coordinate to its screen space equivalent.

Parameters

y is the world space coordinate to translate.

Return value

The screen space y coordinate equivalent to the world space coordinate y.

Restrictions

none

See also

fg_xscreen(), fg_xworld(), fg_yworld()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.