Mercurial > hg > Members > kono > Cerium
changeset 774:5102e1751d6f
add property_chain.h
author | hiroki@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 16 Feb 2010 15:00:50 +0900 |
parents | 8dd9fe36e206 |
children | 97a514cf6ad3 |
files | Renderer/Engine/spe/chain_move.cc Renderer/Test/property_chain.h |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/spe/chain_move.cc Tue Feb 16 14:56:11 2010 +0900 +++ b/Renderer/Engine/spe/chain_move.cc Tue Feb 16 15:00:50 2010 +0900 @@ -67,6 +67,7 @@ vector float v_dy __attribute__((aligned(16))) = spu_sub(v_x1, v_x2); dx = spu_mule(dx, dx); + dy = spu_mule(dy, dy); vector float v_l __attribute__((aligned(16))); #else
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/Test/property_chain.h Tue Feb 16 15:00:50 2010 +0900 @@ -0,0 +1,12 @@ +#include <math.h> +#include <stdlib.h> +#include "SceneGraphRoot.h" +#include "Application.h" +#include "MainLoop.h" +#include "viewer.h" + +class property_chain : public Application { + + MainLoopPtr init(Viewer *viewer, int screen_w, int screen_h); + +};