Exemple #1
0
    void Cast(Stroke[] strokes)
    {
        Glyph newGlyph = Glyph.CreateGlyph(
            strokes,
            glyphInput.sampleDistance
            );

        glyphInput.Cast(newGlyph);
        glyphInput.ClearInput();
    }
    void Cast(Stroke[] strokes, CastDirection dir)
    {
        Glyph newGlyph = Glyph.CreateGlyph(
            strokes,
            glyphInput.sampleDistance
            );

        currentCast = dir;
        glyphInput.Cast(newGlyph);
        glyphInput.ClearInput();
    }