Category: CSharp

C# related arguments/code

Soft Body Physics – Part 2 0

Soft Body Physics – Part 2

After the first version I worked on an alternative approach to obtain a Soft Body Simulation, starting from a custom model. The idea behind is to simply have one model drawn in any of...

Soft Body Physics 0

Soft Body Physics

It is quite a while that I am playing around with soft body physics. It is quite interesting and fun and I have to admit that once you start playing with it, it is...

Physics Engine – Math Basics – Part 1 – Vector 1

Physics Engine – Math Basics – Part 1 – Vector

The base of all the Maths that I will use is the Vector for sure (well, the number itself… but I have no intention to start from there :P). I assume that you are...

Physics Engine – Introduction 1

Physics Engine – Introduction

I decided to document here my personal project: “Building a small Physics Engine” perfectly usable to build small/medium games. My intention is to bring this series of posts as far as possible. During this...

RC4 Cypher Algorithm in C# 0

RC4 Cypher Algorithm in C#

RC4 is the most widely used symmetric cypher algorithm, especially given its performances. The Key is generally between 5 and 16 bytes, equivalent to 40-128 bits. Initialisation To initialise the algorithm it is used a...

Crypt in C++ and Decrypt in C# (and C++) 22

Crypt in C++ and Decrypt in C# (and C++)

So, now you (actually Me) want to encode and crypt something in C++ and then (maybe after a network message), decrypt and decode this info in C#. Let me explain exactly what I mean...

Create a .NET COM and use it in Unmanaged C++ 2

Create a .NET COM and use it in Unmanaged C++

Well, there is enough material here to write a book… or at least a bunch of chapters. I don’t like to go through pages and pages that explain the concept but don’t give a...