瀏覽代碼

oops! One bit only per flag, please

David Rose 18 年之前
父節點
當前提交
356b46e11d
共有 1 個文件被更改,包括 25 次插入25 次删除
  1. 25 25
      direct/src/interval/cLerpNodePathInterval.h

+ 25 - 25
direct/src/interval/cLerpNodePathInterval.h

@@ -80,32 +80,32 @@ private:
   NodePath _other;
   NodePath _other;
 
 
   enum Flags {
   enum Flags {
-    F_end_pos            = 0x000001,
-    F_end_hpr            = 0x000002,
-    F_end_quat           = 0x000004,
-    F_end_scale          = 0x000008,
-    F_end_color          = 0x000010,
-    F_end_color_scale    = 0x000020,
-    F_end_shear          = 0x000040,
-    F_end_tex_offset     = 0x000080,
-    F_end_tex_rotate     = 0x000100,
-    F_end_tex_scale      = 0x000200,
-
-    F_start_pos          = 0x010001,
-    F_start_hpr          = 0x010002,
-    F_start_quat         = 0x010004,
-    F_start_scale        = 0x010008,
-    F_start_color        = 0x010010,
-    F_start_color_scale  = 0x010020,
-    F_start_shear        = 0x010040,
-    F_start_tex_offset   = 0x010080,
-    F_start_tex_rotate   = 0x010100,
-    F_start_tex_scale    = 0x010200,
-
-    F_fluid              = 0x100000,
-    F_bake_in_start      = 0x200000,
+    F_end_pos            = 0x00000001,
+    F_end_hpr            = 0x00000002,
+    F_end_quat           = 0x00000004,
+    F_end_scale          = 0x00000008,
+    F_end_color          = 0x00000010,
+    F_end_color_scale    = 0x00000020,
+    F_end_shear          = 0x00000040,
+    F_end_tex_offset     = 0x00000080,
+    F_end_tex_rotate     = 0x00000100,
+    F_end_tex_scale      = 0x00000200,
+
+    F_start_pos          = 0x00010000,
+    F_start_hpr          = 0x00020000,
+    F_start_quat         = 0x00040000,
+    F_start_scale        = 0x00080000,
+    F_start_color        = 0x00100000,
+    F_start_color_scale  = 0x00200000,
+    F_start_shear        = 0x00400000,
+    F_start_tex_offset   = 0x00800000,
+    F_start_tex_rotate   = 0x01000000,
+    F_start_tex_scale    = 0x02000000,
+
+    F_fluid              = 0x10000000,
+    F_bake_in_start      = 0x20000000,
     
     
-    F_slerp_setup        = 0x400000,
+    F_slerp_setup        = 0x40000000,
   };
   };
   
   
   unsigned int _flags;
   unsigned int _flags;