Public Members |
 |  |
| ddgCloud ( unsigned short textureSize, unsigned int o = 5, float size = 4900 )
|
 |  | | Create a Cloud object of a given size.
|
 |  |
| ddgCloud ( ddgImage *i, float size = 4900 )
|
 |  | | Create a Cloud object from a file.
|
 |  |
bool | init (ddgContext *ctx )
|
 |  | | Initialize the object.
|
 |  |
bool | draw (ddgContext *c )
|
 |  | | Render the cloud object.
|
 |  |
ddgImage* | image (void)
|
 |  | | Return a pointer to the cloud image.
|
 |  |
void | color ( ddgColor4 *d, ddgColor4 *t, ddgColor4 *n)
|
 |  | | Set the cloud color.
|
 |  |
void | drift ( float dx, float dy )
|
 |  | | Drift.
|
 |  |
void | texture ( ddgTexture *t )
|
 |  | | Set the Texture.
|
 |  |
ddgTexture* | texture ( void )
|
 |  | | Return the Texture.
|