コード例 #1
0
 // Token: 0x060001AF RID: 431 RVA: 0x00016F04 File Offset: 0x00015104
 public static BVector3 FromIntV3(IntVector3 V3)
 {
     return(checked (new BVector3((byte)V3.X, (byte)V3.Y, (byte)V3.Z)));
 }
コード例 #2
0
        // Token: 0x060001A6 RID: 422 RVA: 0x00016CF4 File Offset: 0x00014EF4
        public static IntVector3 operator +(BVector3 L, IntVector3 R)
        {
            IntVector3 result = checked (new IntVector3((int)L.X + R.X, (int)L.Y + R.Y, (int)L.Z + R.Z));

            return(result);
        }
コード例 #3
0
        // Token: 0x060001A8 RID: 424 RVA: 0x00016D74 File Offset: 0x00014F74
        public static IntVector3 operator /(BVector3 L, IntVector3 R)
        {
            IntVector3 result = checked (new IntVector3((int)((byte)Math.Round((double)L.X / (double)R.X)), (int)((byte)Math.Round((double)L.Y / (double)R.Y)), (int)((byte)Math.Round((double)L.Z / (double)R.Z))));

            return(result);
        }