Bitmap/Bresenham's line algorithm: Difference between revisions

(Added solution for MATLAB)
Line 1,137:
 
=={{header|MATLAB}}==
Note: Because MATLAB plots originate from the bottom left corner instead of the top left, use of this algorithm will result in images that are vertically mirrored from implementations that modify hardware buffers directly.
 
<lang MATLAB>
Line 1,205 ⟶ 1,206:
>> shading flat
</lang>
[[File:Bresenham.png]]
 
=={{header|MAXScript}}==
Anonymous user