Changeset 896 for cpp/frams/canvas


Ignore:
Timestamp:
11/30/19 01:30:22 (5 years ago)
Author:
Maciej Komosinski
Message:

Replaced #defined macros for popular random-related operations with functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/canvas/nn_simple_layout.cpp

    r789 r896  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2019  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    2626        for (i = 0; i < N; i++)
    2727        {
    28                 nn->SetXYWH(i, (int)rnd0N(300), (int)rnd0N(300), 50, 50);
     28                nn->SetXYWH(i, rndUint(300), rndUint(300), 50, 50);
    2929        }
    3030}
Note: See TracChangeset for help on using the changeset viewer.