Exemple #1
0
        protected internal void AddUnitGlObject(GlObject glObject, GlAction glAction)
        {
            #if DEBUG
            if (glObject is null)
            {
                throw new ArgumentNullException(nameof(glObject), "Argument can not be null.");
            }
            if (glAction is null)
            {
                throw new ArgumentNullException(nameof(glAction), "Argument can not be null.");
            }
            #endif

            UninitGlObjects.Add(glObject, glAction);
        }
Exemple #2
0
 protected bool Equals(GlObject other)
 {
     return(GetId() == other.GetId());
 }