~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_rand.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * @file BLI_rand.h
3
 
 * 
4
 
 * Random number functions.
5
 
 * $Id: BLI_rand.h 28202 2010-04-15 10:28:32Z blendix $
6
 
 *
 
1
/*
7
2
 * ***** BEGIN GPL LICENSE BLOCK *****
8
3
 *
9
4
 * This program is free software; you can redistribute it and/or
30
25
 * ***** END GPL LICENSE BLOCK *****
31
26
 */
32
27
 
33
 
#ifndef BLI_RAND_H
34
 
#define BLI_RAND_H
35
 
 
36
 
        /* RNG is just an abstract random number generator
37
 
         * type that avoids using globals, otherwise identical
38
 
         * to BLI_rand functions below.
39
 
         */
 
28
#ifndef __BLI_RAND_H__
 
29
#define __BLI_RAND_H__
 
30
 
 
31
/** \file BLI_rand.h
 
32
 *  \ingroup bli
 
33
 *  \brief Random number functions.
 
34
 */
 
35
 
 
36
/** RNG is just an abstract random number generator
 
37
 * type that avoids using globals, otherwise identical
 
38
 * to BLI_rand functions below.
 
39
 */
40
40
struct RNG;
41
41
typedef struct RNG RNG;
42
42
 
68
68
        /** Return a pseudo-random number N where 0.0f<=N<1.0f */
69
69
float   BLI_frand               (void);
70
70
 
71
 
        /** Fills a block of memory starting at @a addr
72
 
         * and extending @a len bytes with pseudo-random
 
71
        /** Fills a block of memory starting at \a addr
 
72
         * and extending \a len bytes with pseudo-random
73
73
         * contents. This routine does not use nor modify
74
74
         * the state of the BLI random number generator.
75
75
         */