Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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:
User Information: Cinema 4D Version: 11.5 Platform: Windows ; Language(s) : C++ ;
--------- Could anyone tell me the C++ equivalent to the COFFEE (vlen) ?
Thanks,
~Shawn
On 26/02/2010 at 07:05, xxxxxxxx wrote:
use the Vector classes friend method Len()
for example:
Vector v(100,0,0); Real len = Len(v);
cheers, Matthias
Found it. Or... at least I think I found it. I think it's "Len".
~SHawn
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. Thankkks, ~Shawn
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.