diff Renderer/Engine/spe/chain_move.cc @ 773:64d9bf02c7d3 draft

add property_chain.h
author hiroki@henri.cr.ie.u-ryukyu.ac.jp
date Tue, 16 Feb 2010 15:00:50 +0900
parents 06cabc57afcf
children
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