<commit_before>﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Myre.Collections;
using Myre.Entities;
using Myre.Entities.Behaviours;
using Myre.Entities.Extensions;
using Myre.Graphics.Materials;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Myre.Graphics.Geometry
{
    [DefaultManager(typeof(Manager))]
    public class ModelInstance
        : Behaviour
    {
        public static readonly TypedName<ModelData> ModelName = new TypedName<ModelData>("model");
        public static readonly TypedName<Matrix> TransformName = new TypedName<Matrix>("transform");
        public static readonly TypedName<bool> IsStaticName = new TypedName<bool>("is_static");
        public static readonly TypedName<bool> IsInvisibleName = new TypedName<bool>("is_invisible");
        public static readonly TypedName<float> OpacityName = new TypedName<float>("opacity");
        public static readonly TypedName<bool> IgnoreViewMatrixName = new TypedName<bool>("ignore_view_matrix");
        public static readonly TypedName<bool> IgnoreProjectionMatrixName = new TypedName<bool>("ignore_projection_matrix");

        private Property<ModelData> _model;
        private Property<Matrix> _transform;
        private Property<bool> _isStatic;
        private Property<bool> _isInvisible;
        private Property<float> _opacity;
        private Property<bool> _ignoreViewMatrix;
        private Property<bool> _ignoreProjectionMatrix;
<commit_msg>Added in an import for PROFILE builds<commit_after>﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Myre.Collections;
using Myre.Entities;
using Myre.Entities.Behaviours;
using Myre.Entities.Extensions;
using Myre.Graphics.Materials;
using System;
using System.Collections.Generic;
using System.Linq;

#if PROFILE
using Myre.Debugging.Statistics;
#endif

namespace Myre.Graphics.Geometry
{
    [DefaultManager(typeof(Manager))]
    public class ModelInstance
        : Behaviour
    {
        public static readonly TypedName<ModelData> ModelName = new TypedName<ModelData>("model");
        public static readonly TypedName<Matrix> TransformName = new TypedName<Matrix>("transform");
        public static readonly TypedName<bool> IsStaticName = new TypedName<bool>("is_static");
        public static readonly TypedName<bool> IsInvisibleName = new TypedName<bool>("is_invisible");
        public static readonly TypedName<float> OpacityName = new TypedName<float>("opacity");
        public static readonly TypedName<bool> IgnoreViewMatrixName = new TypedName<bool>("ignore_view_matrix");
        public static readonly TypedName<bool> IgnoreProjectionMatrixName = new TypedName<bool>("ignore_projection_matrix");

        private Property<ModelData> _model;
        private Property<Matrix> _transform;
        private Property<bool> _isStatic;
        private Property<bool> _isInvisible;
        private Property<float> _opacity;
        private Property<bool> _ignoreViewMatrix;
        private Property<bool> _ignoreProjectionMatrix;

{'fraction_non_alphanumeric': 0.08782239634345412, 'fraction_numerical': 0.0, 'mean_word_length': 4.74859287054409, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '242691', 'n_tokens_mistral': 823, 'n_tokens_neox': 836, 'n_words': 205}