Skip to content

Commit

Permalink
feat: add 6cm mortar option for PS US airborne faction (#38) (by TopMak)
Browse files Browse the repository at this point in the history
  • Loading branch information
TopMak authored and Endebert committed Jan 17, 2019
1 parent 8fd65c5 commit 9913354
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/assets/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
PS_4INCH_NAME,
PS_3INCH_MAX_DISTANCE,
PS_3INCH_VELOCITY, PS_3INCH_NAME,
PS_6CM_NAME, PS_6CM_VELOCITY, PS_6CM_MAX_DISTANCE,
} from "./Vars";
import MortarType from "./MortarType";

Expand Down Expand Up @@ -331,6 +332,7 @@ export function getPSMortarTypes() {
new MortarType(PS_8CM_NAME, PS_8CM_VELOCITY, PS_8CM_MAX_DISTANCE),
new MortarType(PS_3INCH_NAME, PS_3INCH_VELOCITY, PS_3INCH_MAX_DISTANCE),
new MortarType(PS_4INCH_NAME, PS_4INCH_VELOCITY, PS_4INCH_MAX_DISTANCE),
new MortarType(PS_6CM_NAME, PS_6CM_VELOCITY, PS_6CM_MAX_DISTANCE),
];
}

Expand Down
4 changes: 4 additions & 0 deletions src/assets/Vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export const PS_4INCH_NAME = "BRIT 4″";
export const PS_4INCH_VELOCITY = 159.666038;
export const PS_4INCH_MAX_DISTANCE = 2601;

export const PS_6CM_NAME = "US 6cm";
export const PS_6CM_VELOCITY = 119.874256;
export const PS_6CM_MAX_DISTANCE = 1466;

export const GRAVITY = 9.8;
export const MIL_TO_DEG_FACTOR = 360 / 6400;
export const MAX_SUBTARGETS_COUNT = 49;
Expand Down

0 comments on commit 9913354

Please sign in to comment.