[info-performer] pfSegset activeMask

Date view Thread view Subject view Author view

From: Christian Beaudoin (Christian.Beaudoin++at++irdpq.qc.ca)
Date: 08/26/2004 06:49:20


Hello,

Suppose I want to use the 12 first segments in a pfSegSet for
intersection testing.

After having set all my segments, I set the first 12 bits of the
activeMask to 1, convert it to decimal and assign it to the activeMask
field.

I do it like that:

111111111111 in binary = 4095 in decimal ntation

segset.activeMask = 4095.

Am I right ?

    Christian


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Aug 26 2004 - 06:51:34 PDT