Mercurial > hg > Members > kono > Cerium
comparison Renderer/Engine/viewer.cc @ 760:24a37fe8419a
first of all commit, not work Rendering/Test/create_task
author | hiroki |
---|---|
date | Thu, 04 Feb 2010 14:46:09 +0900 |
parents | b7376415fa5f |
children | 10a8a80c2ea7 |
comparison
equal
deleted
inserted
replaced
759:bb47827c04c1 | 760:24a37fe8419a |
---|---|
105 sgroot = new SceneGraphRoot(this->width, this->height); | 105 sgroot = new SceneGraphRoot(this->width, this->height); |
106 sgroot->tmanager = manager; | 106 sgroot->tmanager = manager; |
107 | 107 |
108 int size = sizeof(float)*4; | 108 int size = sizeof(float)*4; |
109 | 109 |
110 light_xyz_stock = (float *)manager->allocate(size); | |
110 light_xyz = (float *)manager->allocate(size); | 111 light_xyz = (float *)manager->allocate(size); |
111 light_xyz[0] = 0.0f; | 112 light_xyz[0] = 0.0f; |
112 light_xyz[1] = 0.0f; | 113 light_xyz[1] = 0.0f; |
113 light_xyz[2] = 0.0f; | 114 light_xyz[2] = 0.0f; |
114 light_xyz[3] = 0.0f; | 115 light_xyz[3] = 0.0f; |