mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
frang cant spell vertical
This commit is contained in:
parent
9d721e6dd5
commit
b7857c9a34
@ -366,13 +366,13 @@ ChanConfig::ChanConfig(GraphicsPipe* pipe, std::string cfg, Node *render,
|
||||
sizeX = W.getSizeX();
|
||||
sizeY = W.getSizeY();
|
||||
} else {
|
||||
// verticle size is defined, compute horizontal keeping the aspect from
|
||||
// vertical size is defined, compute horizontal keeping the aspect from
|
||||
// the default
|
||||
sizeX = (W.getSizeX() * sizeY) / W.getSizeY();
|
||||
}
|
||||
}
|
||||
if (sizeY < 0) {
|
||||
// horizontal size is defined, compute verticle keeping the aspect from the
|
||||
// horizontal size is defined, compute vertical keeping the aspect from the
|
||||
// default
|
||||
sizeY = (W.getSizeY() * sizeX) / W.getSizeX();
|
||||
}
|
||||
|
@ -27,7 +27,7 @@
|
||||
;;; * There may be an arbitrary number of region specs, though regions are
|
||||
;;; not allowed to overlap. If they do, this will be detected and an
|
||||
;;; error will be thrown.
|
||||
;;; * 'm' is horizontal, 'n' is verticle
|
||||
;;; * 'm' is horizontal, 'n' is vertical
|
||||
;;;
|
||||
;;; The format for a region spec is:
|
||||
;;; m x n lower
|
||||
@ -37,7 +37,7 @@
|
||||
;;; * 'Lower left' is the cell index of the lower left corner of the region.
|
||||
;;; * Cell indexes are 0-based, and start in the lower left corner of the
|
||||
;;; parent region/window.
|
||||
;;; * 'm' is horizontal, 'n' is verticle
|
||||
;;; * 'm' is horizontal, 'n' is vertical
|
||||
;;;.
|
||||
|
||||
;;;*Public
|
||||
|
Loading…
x
Reference in New Issue
Block a user