last bit of modif
This commit is contained in:
parent
56556baaa7
commit
134f27f520
@ -26,7 +26,7 @@
|
|||||||
dp4 outpos.z, projection[2], r0
|
dp4 outpos.z, projection[2], r0
|
||||||
dp4 outpos.w, projection[3], r0
|
dp4 outpos.w, projection[3], r0
|
||||||
|
|
||||||
; Set vertex color to white
|
; Set vertex color to white rgba => (1.0,1.0,1.0,1.0)
|
||||||
mov outclr, ones
|
mov outclr, ones
|
||||||
end
|
end
|
||||||
.end
|
.end
|
@ -1,3 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* Hello Triangle example, made by Lectem
|
||||||
|
*
|
||||||
|
* Draws a white triangle using the 3DS GPU.
|
||||||
|
* This example should give you enough hints and links on how to use the GPU for basic non-textured rendering.
|
||||||
|
* Another version of this example will be made with colors.
|
||||||
|
*
|
||||||
|
* Thanks to smea, fincs, neobrain, xerpi and all those who helped me understand how the 3DS GPU works
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <3ds.h>
|
#include <3ds.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user