*** empty log message ***
This commit is contained in:
parent
f6eb36cac1
commit
7c83226659
|
@ -1,22 +1,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
template <class A, class B> class pippo {
|
|
||||||
public:
|
|
||||||
int a() { return 1; }
|
|
||||||
};
|
|
||||||
|
|
||||||
template <> class pippo<int, int> {
|
|
||||||
public:
|
|
||||||
int a() { return 2; }
|
|
||||||
};
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
pippo<int, int> p;
|
|
||||||
cerr << p.a() << endl;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
#include<windows.h>
|
#include<windows.h>
|
||||||
#include <SDL/SDL.h>
|
#include <SDL/SDL.h>
|
||||||
|
|
||||||
|
@ -75,9 +59,9 @@ bool init() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int wmain(int argc, unsigned short **argv) {
|
int wmain(int argc, unsigned short **argv) {
|
||||||
if(!init()) return -1;
|
if(!init()) return -1;
|
||||||
|
|
||||||
Trackball trackball;
|
Trackball trackball;
|
||||||
|
|
||||||
int quit = 0;
|
int quit = 0;
|
||||||
|
@ -152,7 +136,7 @@ int wmain(int argc, unsigned short **argv) {
|
||||||
gluPerspective(60, 1, 0.1, 100);
|
gluPerspective(60, 1, 0.1, 100);
|
||||||
glMatrixMode(GL_MODELVIEW);
|
glMatrixMode(GL_MODELVIEW);
|
||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
gluLookAt(0,0,4, 0,0,0, 0,1,0);
|
gluLookAt(0,0,8, 0,0,0, 0,1,0);
|
||||||
glRotatef(130, 1, 1, 0);
|
glRotatef(130, 1, 1, 0);
|
||||||
glTranslatef(0, 0.7, 1);
|
glTranslatef(0, 0.7, 1);
|
||||||
|
|
||||||
|
@ -176,4 +160,4 @@ int wmain(int argc, unsigned short **argv) {
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
*/
|
|
|
@ -1,5 +1,5 @@
|
||||||
Microsoft Visual Studio Solution File, Format Version 7.00
|
Microsoft Visual Studio Solution File, Format Version 7.00
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "trackball", "trackball.vcproj", "{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}"
|
Project("{EAF909A5-FA59-4C3D-9431-0FCC20D5BCF9}") = "trackball", "trackball.icproj", "{BFD1CCD1-E974-402C-9A01-4289A1A420D5}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfiguration) = preSolution
|
GlobalSection(SolutionConfiguration) = preSolution
|
||||||
|
@ -9,10 +9,10 @@ Global
|
||||||
GlobalSection(ProjectDependencies) = postSolution
|
GlobalSection(ProjectDependencies) = postSolution
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfiguration) = postSolution
|
GlobalSection(ProjectConfiguration) = postSolution
|
||||||
{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}.Debug.ActiveCfg = Debug|Win32
|
{BFD1CCD1-E974-402C-9A01-4289A1A420D5}.Debug.ActiveCfg = Debug|Win32
|
||||||
{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}.Debug.Build.0 = Debug|Win32
|
{BFD1CCD1-E974-402C-9A01-4289A1A420D5}.Debug.Build.0 = Debug|Win32
|
||||||
{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}.Release.ActiveCfg = Release|Win32
|
{BFD1CCD1-E974-402C-9A01-4289A1A420D5}.Release.ActiveCfg = Release|Win32
|
||||||
{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}.Release.Build.0 = Release|Win32
|
{BFD1CCD1-E974-402C-9A01-4289A1A420D5}.Release.Build.0 = Release|Win32
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
|
|
@ -1,142 +1,154 @@
|
||||||
<?xml version="1.0" encoding = "Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="7.00"
|
Version="7.00"
|
||||||
Name="trackball"
|
Name="trackball"
|
||||||
ProjectGUID="{68C30FC8-1096-4ED9-ACC3-BA7B720F56C8}"
|
ProjectGUID="{378B2139-BFC0-47F0-A4C0-8E4616C2FB88}"
|
||||||
Keyword="ManagedCProj">
|
Keyword="Win32Proj"
|
||||||
|
OwnerKey="{EAF909A5-FA59-4C3D-9431-0FCC20D5BCF9}">
|
||||||
<Platforms>
|
<Platforms>
|
||||||
<Platform
|
<Platform
|
||||||
Name="Win32"/>
|
Name="Win32"/>
|
||||||
</Platforms>
|
</Platforms>
|
||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
OutputDirectory="Debug"
|
OutputDirectory="Debug"
|
||||||
IntermediateDirectory="Debug"
|
IntermediateDirectory="Debug"
|
||||||
ConfigurationType="1"
|
ConfigurationType="1"
|
||||||
CharacterSet="2"
|
CharacterSet="2">
|
||||||
ManagedExtensions="TRUE">
|
<Tool
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="c:\sf\vcg"
|
AdditionalIncludeDirectories="c:\sf\vcg"
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG"
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
|
||||||
MinimalRebuild="FALSE"
|
MinimalRebuild="TRUE"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="1"
|
RuntimeLibrary="5"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
DebugInformationFormat="3"/>
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
<Tool
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="opengl32.lib glu32.lib glut32.lib SDL.lib"
|
AdditionalDependencies="SDL.lib opengl32.lib glu32.lib"
|
||||||
OutputFile="$(OutDir)/trackball.exe"
|
OutputFile="$(OutDir)/trackball.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="TRUE"/>
|
GenerateDebugInformation="TRUE"
|
||||||
<Tool
|
ProgramDatabaseFile="$(OutDir)/trackball.pdb"
|
||||||
|
SubSystem="1"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
Name="VCMIDLTool"/>
|
Name="VCMIDLTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"/>
|
Name="VCPostBuildEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"/>
|
Name="VCPreBuildEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreLinkEventTool"/>
|
Name="VCPreLinkEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCResourceCompilerTool"/>
|
Name="VCResourceCompilerTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCWebServiceProxyGeneratorTool"/>
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCWebDeploymentTool"/>
|
Name="VCWebDeploymentTool"/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Release|Win32"
|
Name="Release|Win32"
|
||||||
OutputDirectory="Release"
|
OutputDirectory="Release"
|
||||||
IntermediateDirectory="Release"
|
IntermediateDirectory="Release"
|
||||||
ConfigurationType="1"
|
ConfigurationType="1"
|
||||||
CharacterSet="2"
|
CharacterSet="2">
|
||||||
ManagedExtensions="TRUE">
|
<Tool
|
||||||
<Tool
|
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
InlineFunctionExpansion="1"
|
InlineFunctionExpansion="1"
|
||||||
AdditionalIncludeDirectories="c:\sf\vcg"
|
OmitFramePointers="TRUE"
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG"
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
|
||||||
MinimalRebuild="FALSE"
|
StringPooling="TRUE"
|
||||||
WarningLevel="3"/>
|
RuntimeLibrary="4"
|
||||||
<Tool
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="TRUE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="opengl32.lib glu32.lib glut32.lib SDL.lib"
|
|
||||||
OutputFile="$(OutDir)/trackball.exe"
|
OutputFile="$(OutDir)/trackball.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
GenerateDebugInformation="TRUE"/>
|
GenerateDebugInformation="TRUE"
|
||||||
<Tool
|
SubSystem="1"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
Name="VCMIDLTool"/>
|
Name="VCMIDLTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"/>
|
Name="VCPostBuildEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"/>
|
Name="VCPreBuildEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreLinkEventTool"/>
|
Name="VCPreLinkEventTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCResourceCompilerTool"/>
|
Name="VCResourceCompilerTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCWebServiceProxyGeneratorTool"/>
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCWebDeploymentTool"/>
|
Name="VCWebDeploymentTool"/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
<Files>
|
<Files>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Source Files"
|
Name="Source Files"
|
||||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||||
<File
|
<File
|
||||||
RelativePath="main.cpp">
|
RelativePath="main.cpp">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\wrap\gui\trackball.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\..\..\wrap\gui\trackmode.cpp">
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
Filter="h;hpp;hxx;hm;inl;inc">
|
Filter="h;hpp;hxx;hm;inl;inc">
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\vcg\math\base.h">
|
RelativePath="..\..\..\vcg\math\base.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\vcg\space\box3.h">
|
RelativePath="..\..\..\wrap\gui\frustum.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\wrap\GUI\frustum.h">
|
RelativePath="..\..\..\wrap\gl\math.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\vcg\math\matrix44.h">
|
RelativePath="..\..\..\vcg\math\matrix44.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\vcg\space\point3.h">
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\..\vcg\math\quaternion.h">
|
RelativePath="..\..\..\vcg\math\quaternion.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\vcg\math\similarity.h">
|
RelativePath="..\..\..\vcg\math\similarity.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\wrap\GUI\trackball.h">
|
RelativePath="..\..\..\wrap\gui\trackball.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\wrap\GUI\trackmode.h">
|
RelativePath="..\..\..\wrap\gui\trackmode.h">
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\..\..\wrap\GUI\view.h">
|
RelativePath="..\..\..\wrap\gui\view.h">
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath="..\..\..\wrap\gl\wrap.h">
|
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Resource Files"
|
Name="Resource Files"
|
||||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;r">
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
</Filter>
|
</Filter>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
|
|
Loading…
Reference in New Issue