Do a memset for padding.
This commit is contained in:
		
							parent
							
								
									237ed00689
								
							
						
					
					
						commit
						723cd88d56
					
				
					 2 changed files with 7 additions and 13 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -9,7 +9,7 @@ SRC       = rotation.cpp \
 | 
			
		|||
HEADERS   = image.h \
 | 
			
		||||
	    pnm.h
 | 
			
		||||
OBJS      = $(patsubst %.cpp,%.o,$(SRC))
 | 
			
		||||
IMG       = img/lena_64.pgm
 | 
			
		||||
IMG       = img/lena_1024.pgm
 | 
			
		||||
 | 
			
		||||
all: $(OBJS)
 | 
			
		||||
	$(CXX) $(CXXFLAGS) $(LFLAGS) $(OBJS) -o $(BUILD_DIR)/rotation
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue