Content


NTL
Core
Bitmask

Bitmask


Describes bitmask used to draw dotted and dashed objects in renderers.

You can find more information in comments below.

struct Bitmask
{
    unsigned int X; // Bitmask in X-direction/length 
    unsigned int Y; // Bitmask in Y-direction 
    bool is1D; // Whether bitmask is 1- or 2-dimentional 
    bool useFormCoords; // Whether form coordinates(instead of object ones) should be used 

    bool operator==(const Bitmask &b) const; // Check whether bitmasks are equal 
    bool operator!=(const Bitmask &b) const; // Check whether bitmasks aren't equal 
};
Namespace: nitisa
Include: Nitisa/Core/Bitmask.h