1
$\begingroup$

I have an algorithm to fill a triangle

set Pixel if ("for".."with") 

Algorithm

for a triangle like this Triangle

now, Im having trouble with the n = .. what does the ^T mean? It says it means "transposed", but I dont know how to use it in the context of "I am within the triangle border", there is a gap between the algorithm and the understanding, I cant figure it out.

Can anybody help me here? Please ask if you require further information

  • 0
    dan - don't forget to "accept" (click $\checkmark$) an answer, if it's helpful! ;-)2013-04-02

1 Answers 1

1

The usual convention is that $(x,y)=\pmatrix{x\cr y\cr}$ is a column vector, and $(x,y)^T=\pmatrix{x&y\cr}$ is its transpose, which is a row vector.

  • 0
    that h$e$lp$e$$d$ for the Transposed proble$m$, than$k$s2012-01-28