From 91e4c2252b1a07df013cde773d1cead3712bca43 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 5 Feb 2008 19:11:34 +0000 Subject: added rotate to editor. fixed so that the game handles envelopes --- src/game/client/gc_render_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/gc_render_map.cpp') diff --git a/src/game/client/gc_render_map.cpp b/src/game/client/gc_render_map.cpp index 4728f771..d5e7f1a0 100644 --- a/src/game/client/gc_render_map.cpp +++ b/src/game/client/gc_render_map.cpp @@ -102,7 +102,7 @@ void render_quads(QUAD *quads, int num_quads, void (*eval)(float time_offset, in eval(q->pos_env_offset/1000.0f, q->pos_env, channels); offset_x = channels[0]; offset_y = channels[1]; - rot = channels[2]; + rot = channels[2]/360.0f*pi*2; } if(q->color_env >= 0) -- cgit 1.4.1