hgeSprite::Render4V

Renders the sprite to arbitrary quad on the screen.

void Render4V(
  float x0,
  float y0,
  float x1,
  float y1,
  float x2,
  float y2,
  float x3,
  float y3
);

Parameters

x0
The first vertex x-coordinate.
y0
The first vertex y-coordinate.
x1
The second vertex x-coordinate.
y1
The second vertex y-coordinate.
x2
The third vertex x-coordinate.
y2
The third vertex y-coordinate.
x3
The fourth vertex x-coordinate.
y3
The fourth vertex y-coordinate.

Requirements

Header: hgesprite.h
Import library: hgehelp.lib

See also

Render, RenderEx, RenderStretch