3d-interface/analysis/initScene.js

207 lines
8.6 KiB
JavaScript
Raw Permalink Normal View History

function Vector3(x, y, z) {
this.x = x;
this.y = y;
this.z = z;
}
function createRecommendation(position, target) {
return {
position: position,
target: target
}
}
module.exports.createPeachRecommendations = function(width, height, rec) {
var recos = [];
recos.push(
createRecommendation(
new Vector3(-4.318087280217455,2.8007613084859253,1.5193437897009336),
new Vector3(19.04561491034525,-11.893857635144567,-27.432436709124897)
),
createRecommendation(
new Vector3(-6.257935852456958,2.093463399444844,-7.017904350052701),
new Vector3(25.88235261144178,-14.928107421416371,-23.669270187358173)
),
createRecommendation(
new Vector3(9.807915641060413,1.599662719763407,1.3278972044453563),
new Vector3(-16.404678696813406,-19.467671402046243,-20.330065097629618)
),
createRecommendation(
new Vector3(8.593027849546461,2.341563400341173,-10.381814971692629),
new Vector3(-23.363783342561,-18.42997444113019,1.755130036517576)
),
createRecommendation(
new Vector3(6.422879729593868,3.06821771913114,-4.664407524854438),
new Vector3(-15.171947266786782,-24.05662912371069,-24.6119921091785)
),
createRecommendation(
new Vector3(10.155340138717236,6.631665534350463,-5.574670324070963),
new Vector3(-20.721131232754608,-9.966488352174423,-24.839789145555535)
),
createRecommendation(
new Vector3(-6.548087435820877,6.193523907010158,-3.627483164733988),
new Vector3(16.752484674681824,-11.466024392567634,-30.926268727065203)
)
);
return recos;
};
module.exports.createBobombRecommendations = function(width, height) {
var recos = [];
recos.push(
createRecommendation(
new Vector3(22.81974561274774,23.728166674516967,-23.50757340835654),
new Vector3(27.45807332015761,4.665400463440239,11.350666083340474)
),
createRecommendation(
new Vector3(4.512241856806823,19.542184465749266,-21.6277607809511),
new Vector3(-16.322542559288507,6.552211144388629,9.95027512132075)
),
createRecommendation(
new Vector3(3.7236872166568786,11.547542009941035,7.743737673292326),
new Vector3(11.778234958188895,3.590700880634021,46.107951987185814)
),
createRecommendation(
new Vector3(17.51280189401515,22.651733665113007,32.1344270612909),
new Vector3(-17.09689080040822,6.202382514300329,20.663244981189692)
),
createRecommendation(
new Vector3(-12.00887621348721,25.979463024729398,37.05007506157123),
new Vector3(-6.018501236275041,9.054329353511584,1.3057712098552159)
),
createRecommendation(
new Vector3(-9.467050533255307,30.088761873923442,28.727671886170505),
new Vector3(-39.96888839418932,10.735797300746938,11.549178083317258)
),
createRecommendation(
new Vector3(-30.2051081707108,44.36298906887656,35.77746943907231),
new Vector3(-16.54652438711394,19.924260316887796,7.208401795672)
),
createRecommendation(
new Vector3(-52.44058113318328,27.688845222097196,28.78379753054363),
new Vector3(-21.760754138048632,11.37128676599093,8.972550684871294)
),
createRecommendation(
new Vector3(-32.51800140864256,30.21720398723899,-2.2695677339908484),
new Vector3(-4.161205509090522,12.002869652965245,-23.813247806588592)
),
createRecommendation(
new Vector3(-24.869080810307878,24.29489455015078,-48.36061039882109),
new Vector3(-16.792809571743753,4.99108388972596,-14.270483721620096)
),
createRecommendation(
new Vector3(24.213548666073923,19.67561630411922,-34.50857509027397),
new Vector3(35.82557966946029,-3.7247748037464845,-4.21695195820471)
)
);
return recos;
};
module.exports.createWhompRecommendations = function(width, height) {
var recos = [];
recos.push(
createRecommendation(
new Vector3(-9.183036772081453,3.0766349039394916,-10.631680881366988),
new Vector3(23.306020365359252,-17.647069934844886,0.09162197153512075)
),
createRecommendation(
new Vector3(-11.38099373489364,4.5301496570861906,-8.680448599715064),
new Vector3(14.218919789700848,-9.33335658285769,18.75033014002037)
),
createRecommendation(
new Vector3(-2.989815984700766,4.808626217924975,-10.034026966216151),
new Vector3(10.476586340125928,-16.676909597940817,20.90183828968142)
),
createRecommendation(
new Vector3(8.739544533019469,4.57426117700506,-10.246457362075027),
new Vector3(-7.420839007222124,-3.599225856368915,25.419157921381895)
),
createRecommendation(
new Vector3(11.215995865644405,5.100092599462174,5.157320142222007),
new Vector3(-17.739835597264776,-0.18398638725505378,-21.92843872759245)
),
createRecommendation(
new Vector3(-7.511384733151988,6.569117611729606,13.141669794236272),
new Vector3(11.160164249947218,-9.709441800002363,-18.26504544391685)
),
createRecommendation(
new Vector3(0.6846182375474082,13.717750177060871,-3.878598405225172),
new Vector3(14.749877291524962,-2.4709024675402205,29.886709431324352)
),
createRecommendation(
new Vector3(-5.628153398727744,10.292624364958618,-0.15423059405658932),
new Vector3(21.830921092510273,-1.2953399806023977,26.523818630177338)
),
createRecommendation(
new Vector3(-3.2817952119549387,8.014848779391615,-6.822708271111021),
new Vector3(13.01307852868053,-12.339101451861252,23.511988031315184)
),
createRecommendation(
new Vector3(7.805400745480024,9.185305503970957,11.919240783005307),
new Vector3(-9.777424733344784,-5.603738432878275,-20.8241314870455)
)
);
return recos;
};
module.exports.createMountainRecommendations = function(width, height) {
var recos = [];
recos.push(
createRecommendation(
new Vector3(-32.55470573684094,29.55322138048939,-17.59574199842915),
new Vector3(-2.6530082773148784,13.825746134447998,3.8176886333992925)
),
createRecommendation(
new Vector3(12.100158831224025,26.077021046580555,-23.46706423961512),
new Vector3(-13.67308964482135,11.574392013301521,3.4664356093669397)
),
createRecommendation(
new Vector3(16.801072439731502,20.09189357317027,14.011145351254608),
new Vector3(-13.195470192683612,-4.443428210365667,4.1002717732066145)
),
createRecommendation(
new Vector3(-16.879597154353956,28.027328987174787,23.2120994633039),
new Vector3(-6.922498345966725,7.02598138495819,-9.342463691665415)
),
createRecommendation(
new Vector3(24.007103291390404,-10.579535956547192,-30.14734612569218),
new Vector3(5.7117612503958135,-23.76440846717267,2.8895967789043198)
),
createRecommendation(
new Vector3(-12.257327932010769,-12.526038797341444,-36.05191812094985),
new Vector3(0.19983861525745894,-20.375474197075437,1.1395508675026633)
),
createRecommendation(
new Vector3(16.426221516558684,4.064315972012067,-19.84262328062327),
new Vector3(-16.71831968665397,-6.887503610208118,-0.3106741646994493)
),
createRecommendation(
new Vector3(44.96685545730114,-6.205815468014633,-0.5730193999373548),
new Vector3(7.154826082461277,-13.661034435943513,10.135395267812534)
),
createRecommendation(
new Vector3(-33.00196818869413,20.41721604790279,38.566026084656386),
new Vector3(-11.64931778228043,-1.846673249080439,13.102649364489118)
),
createRecommendation(
new Vector3(-53.183958472088925,-8.39869666868559,28.102017801758063),
new Vector3(-15.679778341058253,-11.462793205152831,14.53559656716515)
),
createRecommendation(
new Vector3(27.528666741865862,-9.63536430265764,46.43021804402408),
new Vector3(1.1519844626168592,-18.896564555304533,17.820765028981576)
)
);
return recos;
};