mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
prepare scaling interface
This commit is contained in:
parent
0554531b12
commit
2053a5ad29
@ -2,10 +2,16 @@
|
||||
export interface Matrix {
|
||||
width: number;
|
||||
height: number;
|
||||
scale?: number;
|
||||
scale?: Scaling;
|
||||
grid?: MatrixCell[][];
|
||||
}
|
||||
|
||||
// Interface to represent scaling data
|
||||
export interface Scaling {
|
||||
factor: number;
|
||||
padding: number;
|
||||
}
|
||||
|
||||
// Interface to represent a singualr matrix cell object
|
||||
export interface MatrixCell {
|
||||
x: number;
|
||||
|
Loading…
Reference in New Issue
Block a user