diff --git a/Makefile b/Makefile index b2a9918..a3bdd6b 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,9 @@ else src/06-tetris.pod \ src/07-music_and_sound.pod \ src/08-CPAN.pod \ - src/09-profiling.pod + src/09-profiling.pod \ + src/10-XS_effects.pod \ + src/11-PDL_OpenGL.pod endif diff --git a/src/10-XS_effects.pod b/src/10-XS_effects.pod index 56afdfc..d242fb9 100644 --- a/src/10-XS_effects.pod +++ b/src/10-XS_effects.pod @@ -1,20 +1,15 @@ -=head0 The Basics +=head0 Pixel Effects -Making a screen: +=head1 Ripple Effect -=begin programlisting +Lets try this from perl. - use SDL: - use SDLx::App; +=head2 Color in Detail - SDLx::App->new(); - - sleep( 2 ); - -=end programlisting +Fiddling Bits. -This makes a screen as below: +=head1 Moving it to XS -WIP +Making it usable at least. =for vim: spell diff --git a/src/11-PDL_OpenGL.pod b/src/11-PDL_OpenGL.pod index 56afdfc..fbe742b 100644 --- a/src/11-PDL_OpenGL.pod +++ b/src/11-PDL_OpenGL.pod @@ -1,20 +1,27 @@ -=head0 The Basics +=head0 Additional Modules -Making a screen: +=head1 PDL -=begin programlisting +Fast calculations in Perl. - use SDL: - use SDLx::App; +=head2 Using the Piddle - SDLx::App->new(); - - sleep( 2 ); - -=end programlisting +Some example here -This makes a screen as below: +=head2 Connecting to SDL -WIP +Connect the SDL here. + +=head1 OpenGL + +Perl OpenGL + +=head2 Texturing + +Using textures for OpenGL. + +=head3 SDL surfaces as textures + +Example. =for vim: spell