Shaded Triangle

Routine Summary

Draws a triangle on the graph screen.


L1 - X-coordinates of 3 vertices
L2 - Y-coordinates of 3 vertices
S - Whether it is shaded
D - draw if 1, erase if 0

Variables Used

L1, L2, S, D, M, N, B, C

Calculator Compatibility


:If S
:If L1(2)≠L1(1)
:If L1(2)≠L1(3)

This is a routine to draw a shaded triangle, with an option to draw an unshaded triangle too.

Error Conditions

Related Routines


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License