< prev index next >
modules/graphics/src/main/java/com/sun/javafx/scene/SceneUtils.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 120,130 ****
// : SceneHelper.getEffectiveCamera(scene);
// final PickRay pickRay = cam.computePickRay(pt.getX(), pt.getY(), null);
//
// // convert it to node's local pickRay
// final Affine3D localToSceneTx = new Affine3D();
! // n.getLocalToSceneTransform().impl_apply(localToSceneTx);
// try {
// Vec3d origin = pickRay.getOriginNoClone();
// Vec3d direction = pickRay.getDirectionNoClone();
// localToSceneTx.inverseTransform(origin, origin);
// localToSceneTx.inverseDeltaTransform(direction, direction);
--- 120,130 ----
// : SceneHelper.getEffectiveCamera(scene);
// final PickRay pickRay = cam.computePickRay(pt.getX(), pt.getY(), null);
//
// // convert it to node's local pickRay
// final Affine3D localToSceneTx = new Affine3D();
! // TransformHelper.apply(n.getLocalToSceneTransform(), localToSceneTx);
// try {
// Vec3d origin = pickRay.getOriginNoClone();
// Vec3d direction = pickRay.getDirectionNoClone();
// localToSceneTx.inverseTransform(origin, origin);
// localToSceneTx.inverseDeltaTransform(direction, direction);
< prev index next >