]> gerrit.simantics Code Review - simantics/3d.git/blob - org.simantics.g3d/src/org/simantics/g3d/math/Ray.java
9cf58385212d25dd83b0fc3d954d33f5b03d8424
[simantics/3d.git] / org.simantics.g3d / src / org / simantics / g3d / math / Ray.java
1 /*******************************************************************************\r
2  * Copyright (c) 2012, 2013 Association for Decentralized Information Management in\r
3  * Industry THTH ry.\r
4  * All rights reserved. This program and the accompanying materials\r
5  * are made available under the terms of the Eclipse Public License v1.0\r
6  * which accompanies this distribution, and is available at\r
7  * http://www.eclipse.org/legal/epl-v10.html\r
8  *\r
9  * Contributors:\r
10  *     VTT Technical Research Centre of Finland - initial API and implementation\r
11  *******************************************************************************/\r
12 package org.simantics.g3d.math;\r
13 \r
14 import javax.vecmath.Point3d;\r
15 import javax.vecmath.Vector3d;\r
16 \r
17 public class Ray {\r
18         public Point3d pos;\r
19         public Vector3d dir;\r
20         \r
21         public Ray(Point3d pos, Vector3d dir) {\r
22                 this.pos = pos;\r
23                 this.dir = dir;\r
24         }\r
25 \r
26 }\r