Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 1003 vs 1004 for /trunk/Source Code/Scenes/FlashScene/FlashScene.cpp

Diff revisions: vs.
  @@ -38,8 +38,8 @@
38 38 bool FlashScene::loadResources(bool continueOnErrors) {
39 39 _sunAngle = vec2<F32>(0.0f, Angle::to_RADIANS(45.0f));
40 40 _sunvector =
41 - vec4<F32>(-cosf(_sunAngle.x) * sinf(_sunAngle.y), -cosf(_sunAngle.y),
42 - -sinf(_sunAngle.x) * sinf(_sunAngle.y), 0.0f);
41 + FColour(-cosf(_sunAngle.x) * sinf(_sunAngle.y), -cosf(_sunAngle.y),
42 + -sinf(_sunAngle.x) * sinf(_sunAngle.y), 0.0f);
43 43
44 44 _guiTimersMS.push_back(0.0);
45 45 i = 0;
  @@ -51,7 +51,7 @@
51 51 RelativePosition2D(RelativeValue(0.0f, 60.0f),
52 52 RelativeValue(0.0f, 60.0f)), // Position
53 53 Font::DIVIDE_DEFAULT, // Font
54 - vec4<U8>(0, 64, 255, 255), // Colour
54 + UColour(0, 64, 255, 255), // Colour
55 55 Util::StringFormat("FPS: %d", 0)); // Text and arguments
56 56
57 57 Scene::postLoadMainThread();