WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
AlphaMappingTable.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Collections.Generic;
3
using
System
.
Linq
;
4
using
System
.Text;
5
6
namespace
DirectOutput
.Cab.Toys.Layer
7
{
11
public
static
class
AlphaMappingTable
12
{
17
public
static
float
[,] AlphaMapping =
new
float
[256, 256];
18
19
20
static
AlphaMappingTable()
21
{
22
for
(
int
A = 0; A < 256; A++)
23
{
24
for
(
int
V = 0; V < 256; V++)
25
{
26
AlphaMapping[A, V] = (float)((
double
)V / 255 * (double)A);
27
}
28
}
29
30
}
31
}
32
}
DirectOutput
System.Linq
System
DirectOutput
Cab
Toys
Layer
AlphaMappingTable.cs
Generated on Sat Nov 19 2016 19:32:46 for WIP by
1.8.9.1