00001 // /////////////////// *********************** \\\\\\\\\\\\\\\\\\\\ \\ 00002 // 00003 // This file is part of the Sector 5, 3D graphic game. 00004 // Copyright (C) 2000-2002 by PC John. All rights reserved. 00005 // 00006 // This game is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public License 00008 // version 2.1 as published by the Free Software Foundation. See the 00009 // file LICENSE.LGPL at the root directory of the distribution for 00010 // more details. 00011 // 00012 // If you want to use Sector 5 code for applications not compatible 00013 // with the LGPL license, please contact PC John at pcjohn@email.cz. 00014 // 00015 // \\\\\\\\\\\\\\\\\\\ *********************** //////////////////// // 00016 00017 00018 #ifndef RANDOM_H_INCLUDED_ 00019 #define RANDOM_H_INCLUDED_ 00020 00021 #include <Inventor/SbLinear.h> 00022 00023 00024 int randi(int max); 00025 float randf(float max); 00026 SbVec3f randVec(float maxLen); 00027 00028 00029 #endif /* RANDOM_H_INCLUDED_ */