File: VertexStructs.cs

package info (click to toggle)
opentk 1.1.4c%2Bdfsg-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 68,640 kB
  • sloc: cs: 525,501; xml: 277,501; ansic: 3,597; makefile: 41
file content (36 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;

using OpenTK;

namespace Examples.Shapes
{
    public struct VertexT2dN3dV3d
    {
        public Vector2d TexCoord;
        public Vector3d Normal;
        public Vector3d Position;

        public VertexT2dN3dV3d( Vector2d texcoord, Vector3d normal, Vector3d position )
        {
            TexCoord = texcoord;
            Normal = normal;
            Position = position;
        }
    }

    public struct VertexT2fN3fV3f
    {
        public Vector2 TexCoord;
        public Vector3 Normal;
        public Vector3 Position;
    }

    public struct VertexT2hN3hV3h
    {
        public Vector2h TexCoord;
        public Vector3h Normal;
        public Vector3h Position;
    }

   
}