-
as seen on Game Development
- Search for 'Game Development'
I have a C# Struct with a static method, "Get Shape" which populates a List with the vertices of a polyhedron.
Method Signature:
public static void GetShape(Block b, int x, int y, int z,
List<Vector3> vertices, List<int> triangles,
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I love my Delphi 4 but at the same time I see the need to talk to windows .net
This is a recompiled dll that I found on sourceforge.net/projects/delphinet/ (DelphiNet03.zip) by some nice people that fund the dll from some were.
The real answer is to make this dll so that fits into Delphi as true…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I'm developing a game engine using OpenTK. I'm trying to get to grips with the use of VBO's. I've run into some trouble because somehow it doesn't render correctly.
Thus far I've used immediate mode to render a test object, a test cube with a texture.
namespace SharpEngine.Utility.Mesh
{
using…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm new to visual studio, coming from Delphi.
I have a directory tree full of .cs files (root is \Common).
I also have a directory tree full of Applications (root is \Applications)
Finally, I've got a tree full of Assemblies (root is \Assemblies)
I'd like to keep my .cs files in the Common tree…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Guys,
I am trying to write an Add-In to Powerpoint that does basically one thing:
Give users a Button somewhere to click, once they click on it the currently selected TextField should get syntax highlighted.
The Syntax highlighting part is easy, I'm just having a real hard time finding some good…
>>> More
-
as seen on Stephen Walter
- Search for 'Stephen Walter'
The goal of this blog entry is to provide you with enough information to start working with jQuery Templates. jQuery Templates enable you to display and manipulate data in the browser. For example, you can use jQuery Templates to format and display a set of database records that you have retrieved…
>>> More
-
as seen on Stephen Walter
- Search for 'Stephen Walter'
The goal of this blog post is to describe how templates work in the WinJS library. In particular, you learn how to use a template to display both a single item and an array of items. You also learn how to load a template from an external file.
Why use Templates?
Imagine that you want to display a…
>>> More
-
as seen on West-Wind
- Search for 'West-Wind'
Microsoft’s new Razor HTML Rendering Engine that is currently shipping with ASP.NET MVC previews can be used outside of ASP.NET. Razor is an alternative view engine that can be used instead of the ASP.NET Page engine that currently works with ASP.NET WebForms and MVC. It provides a simpler and more…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
i try to make intensive use of templates to wrap a factory class:
The wrapping class (i.e. classA) gets the wrapped class (i.e. classB) via an template-argument to provide 'pluggability'.
Additionally i have to provide an inner-class (innerA) that inherits from the wrapped inner-class (innerB)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hello
I have template that looks like this:
100 template<size_t A0, size_t A1, size_t A2, size_t A3>
101 struct mask {
103 template<size_t B0, size_t B1, size_t B2, size_t B3>
104 struct compare {
105 static const bool value = (A0 == B0 && A1 == B1 &&…
>>> More