You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rendertarget.cpp 231B

1234567891011121314151617
  1. #include "graphics/rendertarget.h"
  2. namespace vtk {
  3. double RenderTarget::getAspect() {
  4. return (double)mWidth / (double)mHeight;
  5. }
  6. int RenderTarget::width() {
  7. return mWidth;
  8. }
  9. int RenderTarget::height() {
  10. return mHeight;
  11. }
  12. }