소스 검색

add comment

georges 25 년 전
부모
커밋
7e6b8ee643
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      panda/src/gobj/pixelBuffer.h

+ 2 - 2
panda/src/gobj/pixelBuffer.h

@@ -141,8 +141,8 @@ private:
 protected:
 protected:
   int _xsize;
   int _xsize;
   int _ysize;
   int _ysize;
-  int _xorg;
-  int _yorg;
+  int _xorg;  // origin is not a well defined concept for PixelBuffer.  It's zero by default &
+  int _yorg;  // not used by any internal code other than constructors, should probably be deleted from API
   int _border;
   int _border;
   int _components;
   int _components;
   int _component_width;
   int _component_width;