Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 721 vs 783 for /trunk/Source Code/Utility/Headers/Colours.h

Diff revisions: vs.
  @@ -50,7 +50,10 @@
50 50 inline vec4<F32> DIVIDE_BLUE() { return vec4<F32>(0.1f, 0.1f, 0.8f, 1.0f); }
51 51
52 52 inline vec4<U8> RANDOM() {
53 - return vec4<U8>(rand() % 256, rand() % 256, rand() % 256, 255);
53 + return vec4<U8>(Random<U8>(255),
54 + Random<U8>(255),
55 + Random<U8>(255),
56 + to_ubyte(255));
54 57 }
55 58
56 59 inline vec4<F32> RANDOM_NORMALIZED() {