multiplication on link position matrix
Hello;
I want to create an operator on a link (position) that should always half the first value of the input matrix (list) and leave the rest intact. EX: imput matrix=[ a,b ,c ] * operator ------> output matrix=[ a/2 , b ,c ] |
The .preScale command will pre multiply the input matrix with the specified scale:
Code:
link.preScale([0.5,1,1],target=viz.LINK_POS_OP) |
Thank Jeff, that's exactly what I needed
|
All times are GMT -7. The time now is 10:06 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC