vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Cloud2DPlacement.h
Go to the documentation of this file.
1
11
#ifndef _VRECKO_CLOUDS_CLOUD2DPLACEMENT_H
12
#define _VRECKO_CLOUDS_CLOUD2DPLACEMENT_H
13
20
class
PseudoRand2DPlacement
21
{
22
public
:
23
24
// Attributes
25
int
gridUnitSizeX
,
gridUnitSizeY
,
gridUnitSizeZ
,
26
gridUnitHalfSizeX
,
gridUnitHalfSizeZ
;
27
28
// Constructor
29
PseudoRand2DPlacement
() :
gridUnitSizeX
(0),
gridUnitSizeY
(0),
gridUnitSizeZ
(0),
30
gridUnitHalfSizeX
(0),
gridUnitHalfSizeZ
(0) {}
31
32
// Methods
33
40
void
SetGridUnitSizeXYZ
(
int
x,
int
y,
int
z);
41
52
void
GetRandPosition
(
int
gridX,
int
gridY,
int
gridZ,
int
*posX,
int
*posY,
int
*posZ,
int
radius = 0)
const
;
53
60
float
Noise1D
(
int
x,
int
y)
const
;
61
};
62
63
#endif
include
vreckoAP
Nature
Clouds
Cloud2DPlacement.h
Generated on Tue Feb 19 2013 10:23:44 for vrecko by
1.8.3.1