code style
This commit is contained in:
parent
cda41118f8
commit
a036b86ba7
@ -178,7 +178,7 @@ GLubyte *imageToData(Image_t t_img) {
|
||||
* \param[out] img Objet \ref Image manipulable
|
||||
* \return Retourne 1 en cas de succès
|
||||
*/
|
||||
int ImageLoadPPM(char *t_filename, Image *t_img) {
|
||||
int imageLoadPPM(char *t_filename, Image *t_img) {
|
||||
FILE *fp;
|
||||
unsigned long size;
|
||||
GLubyte *data = NULL;
|
||||
@ -200,7 +200,7 @@ int ImageLoadPPM(char *t_filename, Image *t_img) {
|
||||
* \param[in] filename Nom du fichier image à ouvrir
|
||||
* \param[in] img Objet \ref Image à écrire
|
||||
*/
|
||||
void imagesavePPM(char *t_filename, Image_t t_img) {
|
||||
void imageSavePPM(char *t_filename, Image_t t_img) {
|
||||
FILE *fp;
|
||||
GLubyte *data;
|
||||
fp = get_file(t_filename, "wb"); /* open file for output */
|
||||
|
@ -29,8 +29,8 @@ void dataToImage(Image *img, GLubyte *data, unsigned long size);
|
||||
/// \brief Convertit les pixels d’une image en tableau natif OpenGL
|
||||
GLubyte *imageToData(Image_t img);
|
||||
/// \brief Ouverture et lecture de l’image d’entrée
|
||||
int ImageLoadPPM(char *filename, Image_t img);
|
||||
int imageLoadPPM(char *filename, Image_t img);
|
||||
/// \brief Ouverture et écriture de l'image de sortie
|
||||
void imagesavePPM(char *filename, Image_t img);
|
||||
void imageSavePPM(char *filename, Image_t img);
|
||||
|
||||
#endif /* IMGTACHES_SRC_PPM_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user