This object represents a simple row/column pair. it is no more complex than the POINT object found in typical Win32 calls, but it's name implies the representation of discrete resolution.
Exemplo n.º 1
0
        public ParticlesSystem(Resolution res, float timeStep)
        {
            nWidth = res.Columns;
            nHeight = res.Rows;

            ini(timeStep);
        }
Exemplo n.º 2
0
        public FlagScene()
        {
            fFlagResolution = new Resolution(40, 40);
            fBanner = new FlagSystem(fFlagResolution, timeStep);

            fBanner.size = size;
            fBanner.uTile = 1;
            fBanner.vTile = 1;
            fBanner.WindStrength = windStrength;

            fBanner.ini(timeStep);

            polyFillMode = PolygonMode.Fill;
            bUseTexture = true;
        }