(Vec3d from, EnumFacing direction, double by)
| 18 | } |
| 19 | |
| 20 | public static Vec3d offset(Vec3d from, EnumFacing direction, double by) { |
| 21 | return from.addVector(direction.getFrontOffsetX() * by, direction.getFrontOffsetY() * by, direction.getFrontOffsetZ() * by); |
| 22 | } |
| 23 | |
| 24 | public static double dot(Vec3d a, Vec3d b) { |
| 25 | return a.xCoord * b.xCoord + a.yCoord * b.yCoord + a.zCoord * b.zCoord; |
no outgoing calls
no test coverage detected