galakt / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

AnimationOutputFlags enum values need to be set to power-of-two #401

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
        /// <summary>
        /// Specifies which members of the <see 
cref="AnimationOutput"/> structure are valid.
        /// </summary>
        /// <unmanaged>None</unmanaged>
        [System::Flags]
        public enum class AnimationOutputFlags : System::Int32
        {
            /// <summary>
            /// None of the members are valid.
            /// </summary>
            None,

            /// <summary>
            /// The transformation member is valid.
            /// </summary>
            Transformation,

            /// <summary>
            /// The translation member is valid.
            /// </summary>
            Translation,

            /// <summary>
            /// The scale member is valid.
            /// </summary>
            Scale,

            /// <summary>
            /// The rotation member is valid.
            /// </summary>
            Rotation
        };

...

        output.Flags = AnimationOutputFlags::Rotation | 
AnimationOutputFlags::Scale | AnimationOutputFlags::Translation;

Original issue reported on code.google.com by shawnpre...@gmail.com on 13 Jan 2009 at 6:08

GoogleCodeExporter commented 8 years ago
Accepted.

Original comment by Mike.Popoloski on 13 Jan 2009 at 7:08

GoogleCodeExporter commented 8 years ago
Fixed as of r861.

Original comment by Mike.Popoloski on 14 Jan 2009 at 7:57