|
static void | normalVector (float x1, float y1, float x2, float y2, float *nx, float *ny, float fLineWidth=0.5f) |
| return a 2d normal that is perpendicular to line (x1,y1)-(x2,y2). More...
|
|
|
DeviceTexturePtr_type | texture |
|
UINT | texw |
|
UINT | texh |
|
RECT | rect |
|
Vector3 | vStart |
|
Vector3 | vEnd |
|
DWORD | color |
|
float | Thickness |
|
Matrix4 | transform |
|
§ normalVector()
void ParaEngine::SpriteThickLine::normalVector |
( |
float |
x1, |
|
|
float |
y1, |
|
|
float |
x2, |
|
|
float |
y2, |
|
|
float * |
nx, |
|
|
float * |
ny, |
|
|
float |
fLineWidth = 0.5f |
|
) |
| |
|
static |
return a 2d normal that is perpendicular to line (x1,y1)-(x2,y2).
- Parameters
-
fLineWidth | half of the line thickness. default to 0.5f. |
The documentation for this struct was generated from the following files:
- Client/trunk/ParaEngineClient/renderer/SpriteRenderer.h
- Client/trunk/ParaEngineClient/renderer/SpriteRenderer.cpp