FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   i dont know new syntax for older existing words
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: i dont know new syntax for older existing words  (Read 251 times)
lexy


i dont know new syntax for older existing words
« on: Oct 9th, 2004, 9:30pm »

after reading a source code from a file, when i attempted to reload the code, because it was an older one, some of the language has changed. the existing "texture image" and "vertex texture" no longer exist in the updated language of processing. does anyone know what i need to use to replace them? thanks.
 
fry


WWW
Re: i dont know new syntax for older existing word
« Reply #1 on: Oct 10th, 2004, 1:35am »

these sort of things are documented in revisions.txt:
 
- vertexTexture(u, v) has been rolled into vertex(), so:
  vertex(x, y); vertexTexture(u, v); -> vertex(x, y, u, v);
  vertex(x, y, z); vertexTexture(u, v); -> vertex(x, y, z, u, v);
 
and textureImage() has become just texture() (which i neglected to put in revisions.txt.. whups)
 
Pages: 1 

« Previous topic | Next topic »