Changeset 2590


Ignore:
Timestamp:
Mar 13, 2013, 6:28:53 PM (7 years ago)
Author:
touky
Message:

12_tutorial : fixed some bad commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/12_voronoi.cpp

    r2587 r2590  
    22// Lol Engine - Framebuffer Object tutorial
    33//
    4 // Copyright: (c) 2012-2013 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2013-2013 Sam Hocevar <sam@hocevar.net>
     5//            (c) 2013-2013 Benjamin "Touky" Huet <huet.benjamin@gmail.com>
    56//   This program is free software; you can redistribute it and/or
    67//   modify it under the terms of the Do What The Fuck You Want To
     
    4849        m_ready = false;
    4950        m_cur_fbo = 0;
     51        m_time = .0f;
    5052        m_timer = -1.0f;
    5153        mode = 0;
     
    160162                    while (i-- > 0)
    161163                        voronoi_points.Push(vec3(rand<float>(512.f), rand<float>(512.f), .0f),
    162                                             vec2(64.f + rand<float>(64.f), 64.f + rand<float>(64.f)));
     164                                            vec2(64.f + rand<float>(64.f), 64.f + rand<float>(64.f))
     165                                            //vec2(0.f)
     166                                            );
    163167                    mode = 1;
    164168                }
Note: See TracChangeset for help on using the changeset viewer.