Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get and Set Property Pin
OriginalGriff14-Sep-15 21:40
mveOriginalGriff14-Sep-15 21:40 
AnswerRe: Get and Set Property Pin
V.14-Sep-15 21:52
professionalV.14-Sep-15 21:52 
AnswerRe: Get and Set Property Pin
BillWoodruff15-Sep-15 0:42
professionalBillWoodruff15-Sep-15 0:42 
Questionhow to compare two data tables having same column and contain some values according to column name using stored procedure in sql dbx? Pin
Member 1198440814-Sep-15 19:06
Member 1198440814-Sep-15 19:06 
GeneralRe: how to compare two data tables having same column and contain some values according to column name using stored procedure in sql dbx? Pin
Richard MacCutchan14-Sep-15 21:33
mveRichard MacCutchan14-Sep-15 21:33 
AnswerRe: how to compare two data tables having same column and contain some values according to column name using stored procedure in sql dbx? Pin
Mycroft Holmes14-Sep-15 21:37
professionalMycroft Holmes14-Sep-15 21:37 
AnswerRe: how to compare two data tables having same column and contain some values according to column name using stored procedure in sql dbx? Pin
ngoj17-Sep-15 3:13
ngoj17-Sep-15 3:13 
Questionseprating axis swept; Pin
Isawyouoo14-Sep-15 12:58
Isawyouoo14-Sep-15 12:58 
I didn't undersrand this code, is it for both moving polygons, (I said both)
bool AxisSeparatePolygons ( Vector N, Polygon A, Polygon B, Vector Offset, Vector Vel, float &t, float tmax)
{
float min0, max0;
float min1, max1;

CalculateInterval(N, A, min0, max0);
CalculateInterval(N, B, min1, max1);

float h = Offset dot N;
min0 += h;
max0 += h;

float d0 = min0 - max1; // if overlapped, do < 0
float d1 = min1 - max0; // if overlapped, d1 > 0

// separated, test dynamic intervals
if (d0 > 0.0f || d1 > 0.0f)
{
float v = Vel dot N;

// small velocity, so only the overlap test will be relevant.
if (fabs(v) < 0.0000001f)
return false;

float t0 =-d0 / v; // time of impact to d0 reaches 0
float t1 = d1 / v; // time of impact to d0 reaches 1
// sort the times.
if (t0 > t1)
{
float temp = t0;
t0 = t1;
t1 = temp;
}
// take the minimum positive
taxis = (t0 > 0.0f)? t0 : t1;

// intersection time too late or back in time, no collision
if (taxis < 0.0f || taxis > tmax)
return true;

return false;
}
else
{
// overlap. get the interval, as a the smallest of |d0| and |d1|
// return negative number to mark it as an overlap
taxis = (d0 > d1)? d0 : d1;
return false;
}
}
it will only calculate time of velocity to overlap one of them to the other not both, but my exe make the right moment of collision, how that happens in sat? calculate next frame for both and use thales equation, because that's what I do.
from http://elancev.name/oliver/2D%20polygon.htm[^]
QuestionRe: seprating axis swept; Pin
Matt T Heffron14-Sep-15 13:17
professionalMatt T Heffron14-Sep-15 13:17 
AnswerRe: seprating axis swept; Pin
Isawyouoo14-Sep-15 13:57
Isawyouoo14-Sep-15 13:57 
QuestionUrgently need C# code for pushing files from one server to another server Pin
Naga Nanda Kishore14-Sep-15 6:59
Naga Nanda Kishore14-Sep-15 6:59 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 7:29
professionalEddy Vluggen14-Sep-15 7:29 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
OriginalGriff14-Sep-15 8:09
mveOriginalGriff14-Sep-15 8:09 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 9:26
mveGerry Schmitz14-Sep-15 9:26 
JokeRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 9:38
professionalEddy Vluggen14-Sep-15 9:38 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 9:54
mveGerry Schmitz14-Sep-15 9:54 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 10:05
professionalEddy Vluggen14-Sep-15 10:05 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 10:29
mveGerry Schmitz14-Sep-15 10:29 
QuestionSerializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff14-Sep-15 5:06
professionalBillWoodruff14-Sep-15 5:06 
QuestionRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Eddy Vluggen14-Sep-15 7:32
professionalEddy Vluggen14-Sep-15 7:32 
AnswerRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff15-Sep-15 6:42
professionalBillWoodruff15-Sep-15 6:42 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Eddy Vluggen15-Sep-15 7:55
professionalEddy Vluggen15-Sep-15 7:55 
AnswerRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Bernhard Hiller15-Sep-15 5:44
Bernhard Hiller15-Sep-15 5:44 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Richard Deeming15-Sep-15 5:58
mveRichard Deeming15-Sep-15 5:58 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff16-Sep-15 0:22
professionalBillWoodruff16-Sep-15 0:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.