<commit_before>﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.Composition;

using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;

using FeralTic.DX11.Geometry;
using FeralTic.DX11.Resources;
using FeralTic.DX11;
using BulletSharp.SoftBody;

using VVVV.Internals.Bullet;
using FeralTic.DX11.Utils;


namespace VVVV.DX11.Nodes.Bullet
{
	[PluginInfo(Name = "SoftBody", Category = "Bullet",Version="EX9.Geometry",
		Help = "Gets a soft body data as mesh", Author = "vux")]
	public class BulletGetSoftBodyMesh : IPluginEvaluate,IDX11ResourceProvider
	{
		[Input("Bodies")]
        protected ISpread<SoftBody> FBodies;

		[Output("Is Valid")]
        protected ISpread<bool> FValid;

		IPluginHost FHost;

        [Output("Output", Order = 5)]
        protected ISpread<DX11Resource<DX11IndexedGeometry>> FOutput;

		[ImportingConstructor()]
		public BulletGetSoftBodyMesh(IPluginHost host)
		{
            this.FHost = host;
		}

		public void Evaluate(int SpreadMax)
		{
			
			this.FValid.SliceCount = SpreadMax;

			int validcnt = 0;<commit_msg>Rename geometry node with wrong name<commit_after>﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.Composition;

using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;

using FeralTic.DX11.Geometry;
using FeralTic.DX11.Resources;
using FeralTic.DX11;
using BulletSharp.SoftBody;

using VVVV.Internals.Bullet;
using FeralTic.DX11.Utils;


namespace VVVV.DX11.Nodes.Bullet
{
	[PluginInfo(Name = "SoftBody", Category = "Bullet",Version="DX11.Geometry",
		Help = "Gets a soft body data as mesh", Author = "vux")]
	public class BulletGetSoftBodyMesh : IPluginEvaluate,IDX11ResourceProvider
	{
		[Input("Bodies")]
        protected ISpread<SoftBody> FBodies;

		[Output("Is Valid")]
        protected ISpread<bool> FValid;

		IPluginHost FHost;

        [Output("Output", Order = 5)]
        protected ISpread<DX11Resource<DX11IndexedGeometry>> FOutput;

		[ImportingConstructor()]
		public BulletGetSoftBodyMesh(IPluginHost host)
		{
            this.FHost = host;
		}

		public void Evaluate(int SpreadMax)
		{
			
			this.FValid.SliceCount = SpreadMax;

			int validcnt = 0;
{'fraction_non_alphanumeric': 0.10582959641255606, 'fraction_numerical': 0.019282511210762333, 'mean_word_length': 4.415048543689321, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4155332', 'n_tokens_mistral': 843, 'n_tokens_neox': 737, 'n_words': 156}