// Token: 0x06000889 RID: 2185 RVA: 0x000374DC File Offset: 0x000358DC public Vector3 GetVec3d(TouchStick.Vec3DMode vecMode, bool normalized, float orientByAngle) { Vector2 pos = (!normalized) ? this.posRaw : this.dirVec; if (orientByAngle != 0f) { pos = TouchStick.RotateVec2(pos, orientByAngle); } if (vecMode == TouchStick.Vec3DMode.XY) { return(new Vector3(pos.x, pos.y, 0f)); } if (vecMode != TouchStick.Vec3DMode.XZ) { return(Vector3.zero); } return(new Vector3(pos.x, 0f, pos.y)); }
// Token: 0x0600088A RID: 2186 RVA: 0x0003755D File Offset: 0x0003595D public Vector3 GetVec3d(TouchStick.Vec3DMode vecMode, bool normalized) { return(this.GetVec3d(vecMode, normalized, 0f)); }