GsInit3D

Initializes the 3D graphics system

void GsInit3D (
        void
)

Arguments

None.

Return Value

None.

Explanation

Initialises the 3D graphics system within the library.
The 3D graphics system needs to be initialized by this function first, so that 3D processing functions such as GsSetRefView2(), GsInitCoordinate2() and GsSortObject4() can be used.
The following are the steps in the initialization process:
  1. The screen origin is reset to the center of the screen.
  2. The default light source is set to LIGHT_NORMAL.

Notes

It is necessary to initialize the graphics system with GsInitGraph() before calling this function.

See Also

GsInitGraph(), GsSetRefView2(), GsInitCoordinate2(), GsSortObject4()