THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/02/2010 at 06:55, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;
Could anyone tell me the C++ equivalent to the COFFEE (vlen) ?
On 26/02/2010 at 07:05, xxxxxxxx wrote:
use the Vector classes friend method Len()
Real len = Len(v);
Found it. Or... at least I think I found it. I think it's "Len".
On 26/02/2010 at 07:06, xxxxxxxx wrote:
lol... good timing Matthias.. Thanks,
On 26/02/2010 at 07:24, xxxxxxxx wrote:
Since we're on the topic of COFFEE/C++ conversion. I am looking for the C++ equivalent to
var rot = m->GetHPB();
is there a C++ SDK equivalent to GetHPB for matrices? I know GetRot() but that's not a member function of Matrix.
On 26/02/2010 at 08:34, xxxxxxxx wrote:
The SDK has the function:
Vector MatrixToHPB(const Matrix& m);
which does the same thing, I think.